dev fs LABEL=/

Erik Williamson erik at cpsc.ucalgary.ca
Tue Oct 7 00:16:24 UTC 2003


Try this:

[erik at woody ~erik]$ e2label /dev/hda2
/usr
[erik at woody ~erik]$ e2label /dev/hda2 ""
[erik at woody ~erik]$ e2label /dev/hda2

[erik at woody ~erik]$

Hope this helps,
Erik.

Mike Watson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sunday 05 October 2003 10:47 pm, jdow wrote:
> 
>>From: "Chuck Wolber" <chuckw at quantumlinux.com>
>>
>>>>>I have this same problem with 2.4.20 on RH8.  Is there anyway
>>>>>to remove a FS label?  That appears to be the problem.
>>>>
>>>>The program 'e2label' is just what you're looking for.
>>>
>>>Or go old skool:
>>>
>>>tune2fs -L label-name /dev/hdX
>>
>>"Logically" if the fstab "LABEL=/" does not work with devfs then some
>>translation process is not taking place correctly. That means the
>>disk label MAY mean nothing. If its presence guarantees a
>>mistranslation then the only help is "e2label <path to device>" to
>>create a blank or empty label. If you figure out what the form is for
>><path to device> simply use that in fstab and be done with it.
>>
>>I wonder if this is somehow related to having the wrong mod-utils
>>with the kernel package.
>>
>>{^_^}   I also admit, I don't guarantee the logic above. There could
>>        be a fatal issue with devfs that means you just aren't going
>>        to boot using devfs the way you want.
> 
> 
> The parameters for e2lable is
> e2label  <device> <label>
> 
> If no 2nd parameter is furnished, e2label returns the value of the 
> existing label.  So how do you specific a blank label?
> 
> Mike W
> - -- 
> Registered Linux - 256979
> NRA Life
> ARS: W0TMW
> 
> 
> 
> 
> 
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE/gf9H5fq6h2uDDlQRAq+wAKCZsdR6pPInrEUIgnfDrvUHLnVRFACeIA44
> WvWwiiHlyK8Xh+gx0MQb2YI=
> =UYdk
> -----END PGP SIGNATURE-----
> 
> 

-- 
e r i k   w i l l i a m s o n                     erik at cpsc.ucalgary.ca
  system admin . department of computer science . university of calgary





More information about the fedora-list mailing list