Removing Labels from fstab

Tim ignored_mailbox at yahoo.com.au
Mon Oct 1 05:48:01 UTC 2007


Tim:
>> The only real problem I encounter with labels is when there's a
>> duplicated label name added to a system. 

Les Mikesell: 
> And after you've used fedora for a while, this will be _every_ time you 
> move a disk around to a different system.

I saw the potential for that problem, long ago.  So I planned ahead.  I
name my drives *and* the partitions in the labels.  I texta the name on
the drive, to make my life easier.  e.g. Call a drive "john", and
include that in the labels, like "john/boot", "john/home" (or
"john-home", using hyphens instead of dashes).  It means I can find the
right drives for the right partitions, if moving things about in the
box.

I preferred the idea of john/home rather than john-home, as it seemed
more like how the mounted tree would end up.  But discovered that if you
plugged a drive into a USB enclosure with a slash in the label, it
wouldn't use your label in the mount point, it was just /media/disk

On the other hand, if you used mount points like /dev/sda, and move
things about, you can easily end up having to untangle the mess of what
moved to where.  I've been through that before, and it's much easier
with unique labels than mounting partitions, one by one, to find which
is the one you're after.

-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




More information about the users mailing list