/etc/mtab is bad because read-only filesystem and full filesystem etc cannot generate or update it. *BSD got rid of it a while ago for getmntinfo(3) API. Should HURD adopt this API?
--- Kenneth Stailey <[EMAIL PROTECTED]> wrote: > > $ 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 <[EMAIL PROTECTED]> wrote: > > > > --- Oystein Viggen <[EMAIL PROTECTED]> 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/ > > _______________________________________________ > Help-hurd mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/help-hurd __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd