[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: df and /etc/mtab

On Wed, Feb 07, 2001 at 05:46:15PM +1100, Glenn McGrath wrote:
> df (disk free) doesnt work under hurd, i think in linux it uses
> //proc/mounts or /etc/mtab to get a list of mounted partitions.
> Is there any plan as to how this should work under hurd ?

There is no central repository of "mounted filesystems" and the architecture
doesn't allow to enforce one anyway (as registration of such data would be
purely optional). We might add a server for this at some time, or just
recurse through all filesystems. However, what works is "df PATH", like "df /".


`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org

Reply to: