[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Partitioning Scheme



Hi,

        Here is my laptop  partition, with sizes and the amount that is
 free. 
,----
| Filesystem            Size  Used Avail Use% Mounted on
| /dev/mapper/spark_vg-root_lv
|                       4.0G  554M  3.2G  15% /
| /dev/mapper/spark_vg-home_lv
|                        24G  7.4G   16G  33% /home
| /dev/mapper/spark_vg-usr_lv
|                        12G  5.7G  5.6G  51% /usr
| /dev/mapper/spark_vg-ulocal_lv
|                        16G  3.9G   12G  26% /usr/local
| /dev/mapper/spark_vg-var_lv
|                       7.9G  3.1G  4.5G  41% /var
| /dev/sda3             122M   52M   65M  45% /boot
`----

        All of /dev/mapper/spark_vg is encrypted, so I do need the
 /boot. I also do not mount /boot by default. Since there is only /boot
 and one giant encrypted lvm partition, I can grow and shrink my
 partitions if needed.

        Here are bits from /etc/fstab (columns removed to fit in 80
 columns). /usr is mounted read-only. No deices are allowed in user home
 directories. No suid programs are allowed in /home, /usr/local, and
 /var. 
,----
| /               noatime,user_xattr,errors=remount-ro
| /boot           noatime,defaults,rw,noauto,user_xattr
| /home           noatime,nodev,nosuid,user_xattr,rw
| /usr            noatime,defaults,ro,user_xattr
| /usr/local      noatime,nodev,nosuid,user_xattr
| /var            noatime,nodev,nosuid,user_xattr
`----

        manoj
-- 
"If at first you don't succeed, try again. Then quit. There's no use
being a damn fool about it."  -W.C.Fields
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


Reply to: