All of lore.kernel.org
 help / color / mirror / Atom feed
* statfs and reiserfs
       [not found] <:inreplyto>
@ 2001-11-29  0:40 ` jd
  2001-11-29 17:20   ` Hans Reiser
  0 siblings, 1 reply; 2+ messages in thread
From: jd @ 2001-11-29  0:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-fsdevel

Hi,

after a call of statfs() on my kernel-2.4.8, reiserfs returns for the fields f_files and f_ffree in the struct statfs values of -1.

Other filesystems return 0 for unsupported fields in the struct statfs, e.g. smbfs.

Some manpages say "Fields that are undefined for a particular file system are set to -1" (e.g. NetBSD1.4.3A from May24,1995), other say "Fields that are undefined for a particular file system are set to 0" (latest man pages from LDP)

Now. What's right? who's wrong? who's right?

Greetings 

    Jochen Dolze


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: statfs and reiserfs
  2001-11-29  0:40 ` statfs and reiserfs jd
@ 2001-11-29 17:20   ` Hans Reiser
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Reiser @ 2001-11-29 17:20 UTC (permalink / raw)
  To: jd; +Cc: linux-kernel, linux-fsdevel

we believe we are following the official standard.  If you find we err 
on this, let us know, but I think we used to set the fields to 0 and 
then found out it should be -1.

Hans




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-29 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <:inreplyto>
2001-11-29  0:40 ` statfs and reiserfs jd
2001-11-29 17:20   ` Hans Reiser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.