Subject: Re: df(1) on unmounted device works improperly
To: <>
From: David Laight <>
List: current-users
Date: 03/18/2003 11:32:19
> You're confused.  POSIX (in its current incarnation) is IEEE Std 1003.1-2001
> without the XSI extensions.  The -t option to df, the requirements on
> handling block devices, and the requirement to display numbers of free
> inodes are all XSI extensions, which I think NetBSD should be ignoring.

ok I'm confused :-)

> Without the XSI extensions, the results of passing df the name of a special
> file are unspecified, which permits us to grovel around in unmounted
> filesystems if we want.
> >I don't know where they got there 'default' output rule from!
> >the '-t' clashes :-(
> This kind of thing is precisely why I think NetBSD should be ignoring XSI.

I guess the XSI stuff is worth implementing if it doesn't break
existing behaviour.


David Laight: