There is probably an easier way, but certainly the first line of
'dumpe2fs' shows the volume label, perl would easily parse that.
-Tom
On Sun, 16 Sep 2001, Charles Curley wrote:
> Date: Sun, 16 Sep 2001 19:32:49 -0600
> From: Charles Curley <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [tomsrtbt] labels in fstab
>
> Red Hat 7.1 (and possibly earlier versions) uses labels in fstab to
> identify some hard drives instead of the hard drive file name in
> /dev. So, for example, "LABEL=/boot" translates to /dev/hda1. Does
> tomsrtbt understand these lables?
>
> Alternatively, in RH 7.1, is there any way to make that translation in
> a perl script, so I can feed the device file name to my restore
> scripts?
>
> Thanks
>
> --
>
> -- C^2
>
> No windows were crashed in the making of this email.
>
> Looking for fine software and/or web pages?
> http://w3.trib.com/~ccurley