On Thursday 17 February 2005 03:08 pm, Carl Lowenstein wrote: > I painfully went through the process to rename VolGroup00-LogVol00 to > VG00-LV00, etc., just to make the names shorter, but this did not > help. > > So shell scripts that parse df(1) output by looking for lines that > begin with /dev no longer work as intended. The data that belongs to > the /dev/xxx name is now on the following line, if it's a partition > managed by LVM.
I'm guessing your shorter names are still beyond the threshold that df uses to keep the data on a single line. df seems to do that only with devices with long names... My other question is why LVM devices were showing up as /dev/mapper/<vg>-<lv>, unless you specifically created them that way. I'm accustomed to the /dev/<volumegroup>/<logicalvolume> naming scheme, which still lets you be nice and short: /dev/SysVol/boot /dev/SysVol/root /dev/SysVol/swap /dev/SysVol/tmp etc. for a time I used HPUX's convention of just numbers, i.e., /dev/vg00/lv01 but found that naming things made it easier for me. And yes, I realize that I have been mostly unhelpful. Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
pgplTEAEiBUH8.pgp
Description: PGP signature
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
