Rant on LABELs

Nils Philippsen nphilipp at redhat.com
Sun Sep 26 10:48:15 UTC 2004


On Sun, 2004-09-26 at 10:14, Marius Andreiana wrote:
> On Sat, 2004-09-25 at 16:06 +0100, Timothy Murphy wrote:
> > Just got caught again by this LABEL nonsense.
> > I was mounting my laptop hard disk on my desktop -
> > both running Fedora-
> > and the whole thing was thrown into confusion
> > because there were two partitions LABELed "/",
> > on my desktop hard disk and on the laptop hard disk.
> > 
> > I had to start again in single mode,
> > and change all the entries in /etc/fstab and /etc/grub.conf .
> That's a common problem when adding hdd's with other fedora installs.
> 
> How about generating a random integer at install time, and use it to
> label partitions like
> /_5643
> /home_5643
> /boot_5643
> ...
> and reference these in fstab / grub.conf? Could this create problems?

Well, volume labels can only be 16 characters long on ext2/ext3
filesystems which basically clashes with the requirement that you'd need
to ensure that the random number would be virtually unique which means
long numbers ;-).

Nils
-- 
     Nils Philippsen    /    Red Hat    /    nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety."     -- B. Franklin, 1759
 PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011





More information about the fedora-devel-list mailing list