vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am thinking about putting together a machine with Gentoo on it with a 30GB drive to use for learning GNU/Linux. I forget where I read it, but someone was suggesting to make some partitions read-only, and others with the nosuid option in the fstab. My question is: For maximum security, and the desire not to have a partition run out of space, what would your partions(and fstab) look like for a 30GB drive? The last time I checked the Gentoo handbook, it suggested using 3 partitions, one for /boot, one for swap, and everything else on the last partition. From that setup, it doesn't look like you could put in the nosuid on the last partition. Also, should /var, /home, /usr, /tmp, /var/tmp, and /portage all be on separate mount points? Thanks for the input. Clutch ------------------------------------------------------------------------ Please post replies to Usenet. The email address is fake to prevent spamming. Thank You. ------------------------------------------------------------------------ |
| ||||
| Clutch wrote: > I am thinking about putting together a machine with Gentoo on it with > a 30GB drive to use for learning GNU/Linux. > > My question is: For > maximum security, and the desire not to have a partition run out of > space, what would your partions(and fstab) look like for a 30GB drive? I'd use more partitions with LVM2. Gentoo has some documentation over at http://www.gentoo.org/doc/en/lvm2.xml My choice would be something like this: /boot 128M / 2048M (lvm) rest of disk /dev/vg/swap 1024M /dev/vg/usr 12228M /dev/vg/opt 512M /dev/vg/home 4096M /dev/vg/var 4096M /dev/vg/tmp 1024M Notice that this only adds up to 25156M - the reasoning behind this is that it's much easier to leave a little free space for expansion than to reduce a partition. Hth, -- Ben M. |