Re: uncluttering df -l output
From: Paul Eggert (eggert_at_twinsun.com)
Date: 06/13/03
- Next message: cd: "Re: Hardware For PCI Device Driver Development"
- Previous message: Darren Dunham: "Dsimport, LDAP, and NIS makefiles."
- In reply to: Richard L. Hamilton: "Re: uncluttering df -l output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 12 Jun 2003 15:05:44 -0700
Richard.L.Hamilton@mindwarp.smart.net (Richard L. Hamilton) writes:
> So there's really two different things I want: I don't want to have to
> look at pseudo filesystems in df output unless I impose no restrictions on
> what to display, because the only useful information that provides is that
> they're mounted (which one could find out with mount or by reading
> /etc/mnttab directly), and I'd like something that was like df -l, but
> restricted to "interesting" (potential local space problem) filesystems.
GNU "df" should do what you want out of the box. It's part of the
coreutils package.
> An easily parsable output format (no broken lines, guaranteed white space
> between each field, no header) would also be nice.
GNU "df -P" does all that except for the "no header" part. So
"df -P | sed 1d" should do what you want, if you have GNU df.
- Next message: cd: "Re: Hardware For PCI Device Driver Development"
- Previous message: Darren Dunham: "Dsimport, LDAP, and NIS makefiles."
- In reply to: Richard L. Hamilton: "Re: uncluttering df -l output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|