disklabel

Per Bjornsson perbj at stanford.edu
Sun Dec 12 20:29:48 UTC 2004


On Sun, 2004-12-12 at 12:19 -0800, Joshua Andrews wrote:
> I don't really understand the need for disk labels in fstab at all, in 
> fact it has always caused me more problems while not doing anything 
> helpful that I am aware of.

I use them to get consistent naming for a couple of removable devices
that have the same purpose but are used at different times. It's quite
convenient for that kind of use. There may also be other things that
cause the disk numbering to change (BIOS upgrades etc) and in that case
using labels can make things just work instead of needing manual fstab
fixing.

> I would like to remove labels from some partitions. I have relabeled 
> partitions but I'm not quite sure how to safely remove labels.

At least on ext2/3 I believe that there is always a filesystem label,
when it's "missing" it is just set to an empty string. Any reason why
just setting the label to an empty string is not good enough?

/Per





More information about the fedora-test-list mailing list