[svlug] question re: label ext3 external drive using tune2fs

Darlene Wallach freepalestin at dslextreme.com
Sat Dec 29 18:03:20 PST 2007


When I formatted the 160G external drive on which I have all
my data, I did *not* label the drive. If I chose to label the
drive now, I would umount the drive and use tune2fs. I don't
understand the man page for tune2fs explaining the following
specific part of "-L volume-name":

-L volume-label
Set  the volume label of the filesystem. ...
The volume label can be used by mount(8), fsck(8), and
/etc/fstab(5) (and  possibly  others) by specifying
LABEL=volume_label instead of a block special device name
like /dev/hda5.

The way I understand to label the drive is:
tune2fs -L MyLabel /dev/sdc2

Does that specific feature of labeling a drive make sense
to use?
What would I type to take advantage of the above described
feature of "-L volume-label"?

Thank you,

Darlene Wallach





More information about the svlug mailing list