On Monday, January 19, 2004, at 02:56 AM, Ben Munat wrote:
So, it appears that there are some varying opinions on partitioning... anyone care to weigh in?
Sure, I'll see if anyone finds this setup useful or interesting...
My fstab states the following:
/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda2 / reiserfs noatime 0 0
/dev/hda3 /usr reiserfs noatime,ro 0 0
/dev/hda4 /var reiserfs noatime 0 0 /var/srv /srv auto bind 0 0
/var/home /home auto bind 0 0
/usr/opt /opt auto bind 0 0 none /tmp tmpfs defaults 0 0
/var/tmp/swap none swap sw 0 0/boot is 32M / is 150M /usr is 6G /var is the rest of the HD (in this case 33G)
Basically I use /var as the place where things you want to write on a regular basis go, therefore /home lives under /var (and is bind'ed back to /home).
I also have a /srv directory where I put www, ftp, samba, or whatever files I want to share over the network.
I have my swap as a file in /var/tmp, so that if I find I don't really need so much swap, I can easily reduce it.
Finally, my /tmp is just a tmpfs. The nice thing about tmpfs is, unlike a ramfs, it will put the files into swap if need be.
My basic premise is to have a partition that doesn't need to be mounted (/boot), a partition that is all that is needed in case of emergency (/root), a partition that doesn't normally need to be written to (/usr), and a partition for stuff that is written to normally (/var). The binds represent mounts that could become separate partitions if need be (otherwise I'd probably use a symlink... although there are some other advantages to binds, I think).
Anyway, yeah, that's what I do...
- Braden
-- [EMAIL PROTECTED] mailing list
