[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df: cannot read table of mounted filesystems
From: |
Kenneth Stailey |
Subject: |
Re: df: cannot read table of mounted filesystems |
Date: |
Thu, 11 Apr 2002 05:25:51 -0700 (PDT) |
$ cat /bin/mydf
#! /bin/sh
mount | awk '{print $3}' | xargs df $*
Works for me except for the stupid warning message.
When in doubt: script
--- Kenneth Stailey <kstailey@yahoo.com> wrote:
>
> --- Oystein Viggen <oysteivi@tihlde.org> wrote:
> > * [Jan 'JaSan' Sarenik]
> >
> > > # df
> > > df: cannot read table of mounted filesystems
> >
> > With the Hurd, it is difficult to maintain an /etc/mtab (the table of
> > all mounted filesystems), so we don't.
>
> Very odd. IIRC typing "mount" does show mounted filesystems so something is
> keeping track of them, right? Should df be patched to access whatever
> mount(8)
> (which I'm guessing is really showtrans) is acessing?
>
> > Use "df ." to chech free space on the filesystem containing the current
> > directory, and, for example, "df /home" to check free space on /home.
> >
> > Oystein
> > --
> > When in doubt: Think again.
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/