Re: Label's and things

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-06-27 at 15:22 -0600, Karl Larsen wrote:
> I grow tired of all the Label things going on in Fedora now.

I don't really see why it has to be worse.  /dev/hda1 only means
something if I always have *that* drive plugged in as the primary
master.  That's fairly likely, but less likely with /dev/sdc1 (if you
have removeable external drives).

On the contrary, LABEL=fred/boot (where "fred" is what I've called one
of my Seagate drives, and texta-written the name on the drive, itself),
means that I can plug it in anywhere, and find it by that label.  I
don't have to figure out if it's attached at /dev/hda1, /dev/hdb1,
or /dev/sdd1, and so on.  Likewise, LABEL=fred-swap means that it uses
that swap partition, and not the wrong one, on multi-disc systems.

Not using a multi-disc system?  Well you're prepared for it in the
future.  You might need to plug in another drive to recover some data,
and you've one less headache to sort out, *then*.

>     My original fstab looks like this:
> 
> LABEL=/1234             /                       ext3    defaults        1 1
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> tmpfs                   /dev/shm                tmpfs   defaults        0 0
> proc                    /proc                   proc    defaults        0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> LABEL=+`àQñGM@O2RÕ{ÏA   swap                    swap    defaults        0 0
> LABEL=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ   swap                    swap    defaults        0 0
> 
> The swap listings were ugly!

Label things yourself.  Read man mkswap.

...[snip fstab and grub.conf using device names instead of labels]...

>     I have rebooted with all these changes and it comes up just as well 
> as always. Unless someone thinks this is real bad I will continue with 
> the project.

In themselves, that's fine.  I've done the same in the past.  The
problems you *may* come across are when you have to plug another drive
in, at the same time, or plug this drive in another place.

-- 
[tim@bigblack ~]$ rm -rfd /*^H^H^H^H^H^H^H^H^H^Huname -ipr
2.6.21-1.3228.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux