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

RE: nahant-list Digest, Vol 5, Issue 36



Good to know - but I was really referring to how to get the df command
to reference /dev/vg00 names that UDEV creates as soft links instead of
the "mapper" names.

Kevin

-----Original Message-----
From: nahant-list-bounces redhat com
[mailto:nahant-list-bounces redhat com] On Behalf Of Jason T Hardy
Sent: Friday, July 01, 2005 9:17 AM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: RE: nahant-list Digest, Vol 5, Issue 36


On Fri, 2005-07-01 at 08:42 -0700, Collins, Kevin (MindWorks) wrote:
> /dev/mapper/vg00-lvol1
> /dev/mapper/vg00-lvol2
> 
> Anyone know how I can fix that? It causes 'df' to break lines which
> sucks for scripting - in fact the LogWatch report shows bad data for
the
> Disk Usage section...

'df -P' (use POSIX output format) put your output on one line. While
it's less readable (columns don't always line up), it works great for
scripting.

Jason
-- 

Jason T Hardy
Office of Information Technology
University of Texas at Arlington
GnuPG Public Key: http://omega.uta.edu/~jthardy/jthardy.gpg.asc

--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list




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