Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-19-2006, 10:15 PM   #1
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
/etc/fstab question

hi all,

i came across a machine with a entry in /etc/fstab. i am so curious how can it be done? how can i define the label to match on the physical partition?

LABEL=music /mymusic ext3 defaults 1 2

when i issue df -h
/dev/sdb1 25G 2.0G 23G 9% /mymusic

what is the benefit of declaring a mounting using label, instead of using /dev/sdb1?
please advise. thanks.
Old 07-19-2006, 11:27 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
When you format the partition, most filesystems have a "label" option that can be used for this purpose.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab question Lleb_KCir Linux - General 2 04-12-2005 01:11 AM
fstab question onironaut Linux - Newbie 3 03-24-2005 02:49 PM
/etc/fstab question joker20 Linux - Newbie 16 09-15-2004 09:33 PM
fstab question phoenix99 Linux - Newbie 3 06-29-2004 01:30 PM
question about /etc/fstab nny0000 Slackware 6 04-27-2004 07:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration