Good file system / Hdd layout for linux

Rasjid Wilcox rasjidw at bigpond.com
Sat Feb 2 19:55:46 EST 2002


On Sat, 2 Feb 2002 19:05, Howard Lowndes wrote:
> Mine is quite different.
>
> I partition the disks:
> 1	/
> 2	/usr
> 3	swap
> 4	extended
> 5	/var
> 6	/home
> 7	/tmp
> 8	/usr/local
>
> I also move any changed /etc files into /usr/local/etc and then symlink
> them back to /etc so that if I do a re-install I can exclude /home and
> /usr/local from the install and I don't lose local settings/stuff or my
> altered configs.
>

Mine is very similar to Howard's.

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hde7             3.8G  3.1G  639M  83% /
/dev/hde9             980M   17M  914M   2% /tmp
/dev/hde10            1.9G  250M  1.5G  14% /usr/local
/dev/hde8             1.9G  157M  1.6G   9% /var
/dev/hdf1              32G   22G  8.6G  72% /home
/dev/hde1            1002M  554M  448M  56% /winc
/dev/hde5             3.9G   58M  3.8G   2% /wind

with swap on /dev/hde6

When I upgrade I tend to do a full re-install like Howard, and the above 
setup makes it very easy.  I think Howard's simlinking changed /etc files 
into /usr/local/etc is a fantastic idea, which I will implement next time.  I 
currently make a backup of all of /etc, and then have to try and work out 
which things I changed.

Mick, you could also take a look at
http://www.nyx.net/~sgjoen/disk-9.html
http://www.linuxdoc.org/HOWTO/mini/Partition/partition-4.html

Rasjid.




More information about the linux mailing list