LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-19-2006, 11:15 PM   #1
yenonn
Member
 
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-20-2006, 12:27 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

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


Reply


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 02:11 AM
fstab question onironaut Linux - Newbie 3 03-24-2005 03:49 PM
/etc/fstab question joker20 Linux - Newbie 16 09-15-2004 10:33 PM
fstab question phoenix99 Linux - Newbie 3 06-29-2004 02:30 PM
question about /etc/fstab nny0000 Slackware 6 04-27-2004 08:42 PM


All times are GMT -5. The time now is 06:45 PM.

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