LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   meaning of LABEL="/" in fstab (http://www.linuxquestions.org/questions/linux-general-1/meaning-of-label%3D-in-fstab-165686/)

isaac_linux 04-03-2004 08: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 09:11 AM

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

michaelk 04-03-2004 12:22 PM

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 07: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 09:55 PM.