lvm & logwatch
Charles R. Anderson
cra at WPI.EDU
Thu Jan 27 13:44:58 UTC 2005
On Thu, Jan 27, 2005 at 01:20:04PM +0000, Luciano Miguel Ferreira Rocha wrote:
> On Thu, Jan 27, 2005 at 08:02:33AM -0500, Charles R. Anderson wrote:
> > df -h | grep -A1 '^/dev/'
> >
> > It's somewhat of a hack, but it works in my case...
>
> I get a line in the middle with only '--'. Not pretty...
> df -h | grep -E '^(/dev/| )' works better for me.
No good for me. That includes the continuation line on excluded
devices. (In my case, tons of loopback mounts that I don't care to
see):
[...]
/dev/mapper/vg02-content
1.5T 140G 1.3T 10% /srv
645M 645M 0 100% /srv/ftp/pub/mnt/psyche-i386-disc1
636M 636M 0 100% /srv/ftp/pub/mnt/psyche-i386-disc2
[...]
More information about the fedora-test-list
mailing list