[svlug] question re: label ext3 external drive using tune2fs
freepalestin at dslextreme.com
Sat Dec 29 18:33:41 PST 2007
David Fox wrote:
> On 12/29/07, Darlene Wallach <freepalestin at dslextreme.com> wrote:
>> The way I understand to label the drive is:
>> tune2fs -L MyLabel /dev/sdc2
> Seems to me as well it's the right way to do it (of course, use the
> right device entry).
> I've never bothered to label my volumes, but AIUI, some believe it is
> advantageous to do this (probably more so when encountering removable
> devices) because of udev mostly. And removable drives tend to 'move'
> around some with respect to device names.
My question was in regards to this specific part of tune2fs:
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
Does that specific feature of labeling a drive make sense
to use? i.e. what does it do in regards to mount(8),
fsck(8), and /etc/fstab(5)?
What would I type to take advantage of the above described
feature of "-L volume-label"?
More information about the svlug