-   Linux - General (
-   -   meaning of LABEL="/" in fstab (

isaac_linux 04-03-2004 07:46 AM

meaning of LABEL="/" in fstab
what is the meaning of the statement LABEL='/' in /etc/fstab

some partitions have.this and some donot.
any body please help me.

SciYro 04-03-2004 08:11 AM

thats were the device is to be mounted, root FS's are mounted on /

michaelk 04-03-2004 11:22 AM

You can assign a name to a partition and this is called a label. In your example the root partition is labeled as /. The benefits are if you move the root partition to another drive or another partition the bootloader is still able to find where it is.

If you do not use a label then you need to specify the partition ID as in:
/dev/hda1 ....

You can use tune2fs to add / change a label.

isaac_linux 04-04-2004 06:24 AM

Thank you very much michaelk. I got a prize for answering this question to my father.

All times are GMT -5. The time now is 08:32 PM.