on Thu, Nov 14, 2002, Ross Boylan (RossBoylan@stanfordalumni.org) wrote:
> I just added a volume manager, and now that I can I would like
> separate out my filesystem into different chunks (volume; these are
> just virtual partitions if you're unfamiliar with the concept).
> Currently my system consists of a small root partition (running out of
> space), a swap partition, and a big partition with /usr.
>
> Can anyone tell me what / directories are reasonable to mount from
> other partitions/volumes, and which must stay put for safety?
>
> Here are my current guesses:
> Safe:
> /usr
> /home (since /root is separate)
> /share (oddly, not discussed in FHS)
>
> Possibly safe:
> /var
> /tmp (maybe not--if a startup process uses it, and then it gets
> mounted over it seems there would be trouble)
>
> Definitely not:
Not quite:
> /bin - Yes
> /boot - No. Can be independent partition.
> /dev - No, special case. Can be devfs.
> /etc - Yes.
> /lib - Yes.
> /lock
> /proc - No. It's not a "real" filesystem.
> /root - Yes.
> /sbin - Yes.
I recommend /tmp as a separate filesystem, though you can leave it as
part of / if you want. Mounting filesystems occurs at
/etc/rcS.d/S35mountall.sh -- before anything but kernel and root
filesystem checks are done. Any processes needing to _use_ /tmp are
started after mountall.sh.
Peace.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
Übersoft: You Will be Assimilated.
http://www.ubersoft.net/
Attachment:
pgpkWui5oyxn2.pgp
Description: PGP signature