[KLUG Members] Re: Need more space for /var (Adam Williams)
Bob Kanaley
members@kalamazoolinux.org
Wed, 21 May 2003 12:13:24 -0500
Adam,
This was the first fstab that I had seen that used the LABEL=/XXX instead of
the /dev/hdX# that I am used to using. Apparently fstab lets you can mix and
match, so I am OK with that.
I just don't understand how you can use a label without somehow passing the
device file. I.E., how does LABEL=/ specify that the device file to be
mounted as root is /dev/hda1 and not /dev/sda1?
>if you use the other entries already there for a template it is pretty
>hard to screw up. Make sure you test by rebooting and seeing that the
>filesystem is mounted at the appropriate point.
LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
LABEL=/home /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
LABEL=/usr /usr ext2 defaults 1 2
LABEL=/var /var ext2 defaults 1 2
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda9 swap swap defaults 0 0
Bob
Robert V. Kanaley
Manager Information Systems
Agdia, Inc.
rvk@agdia.com
http://www.agdia.com