home | list info | list archive | date index | thread index

Re: /tmp (was Re: [OCLUG-Tech] Current thoughts on filesystem partitioning?)

  • Subject: Re: /tmp (was Re: [OCLUG-Tech] Current thoughts on filesystem partitioning?)
  • From: Bart Trojanowski <bart [ at ] jukie [ dot ] net>
  • Date: Mon, 8 Aug 2005 09:06:58 -0400
* Adrian Irving-Beer <wisq-oclug [ at ] wisq [ dot ] net> [050808 02:48]:
> /ext1-1 is a remnant of an old mountpoint naming scheme I've been using
> for ages, ext<d>-<n>, meaning the <n>th 'extra' partition on physical
> disk <d>.  In this case, I symlink /tmp and /var/tmp into it.

You may want to consider bind mounts over symlinks.  It's more intuative
since bind mounts show up in a global list, while you would have to look
for all the symlinks.

mount -o bind /ext1-1 /tmp
mount -o bind /ext1-1 /var/tmp

... /tmp and /var/tmp have to be directories, obviously.

Personally, I only use bind-mounts because they work over chroot/vserver
barriers, but they work here too.

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/

Attachment: signature.asc
Description: Digital signature