On Thu, Jan 27, 2005 at 08:02:33AM -0500, Charles R. Anderson wrote: > On Thu, Jan 27, 2005 at 12:43:03PM +0000, Luciano Miguel Ferreira Rocha wrote: > > I can't believe I'm the only one going through the logwatch email! :) > > > > With lvm/dm, the Disk Space information is not very useful: > > /dev/mapper/knuth-root > > /dev/hda1 99M 20M 74M 22% /boot > > /dev/mapper/knuth-build > > /dev/mapper/knuth-tmp > > /dev/mapper/knuth-var > > Yeah, I just "fixed" this on my system: > > /etc/log.d/scripts/services/zz-disk_space > > Change: > > df -h | grep '^/dev/' > > To: > > 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. Thanks, Luciano Rocha