Easy DOSFS question

Victor V. Vengerov Victor.Vengerov at oktetlabs.ru
Fri Nov 26 10:13:49 UTC 2004


Joel,

Joel Sherrill <joel at OARcorp.com> wrote:

>> Because RTEMS follows to POSIX for file operations, it is reasonable 
>> to implement statvfs()/fstatvfs(), as they are defined in POSIX (or, 
>> at least, in man 2 statvfs :-) ).
>
>
> Not on the Linux box I am using to answer this. :(

I'm using Fedora 2 and 2.6.7 kernel. It is quite possible that statvfs() 
appears in 2.6 kernel. man page claims that statvfs() conforms to POSIX. 
In older linux kernel, similar syscalls statfs(), fstatfs() were used.

I have attached man pages for both of them.

I have no POSIX in my hands, so I couldn't check statvfs() definition 
against standard.

Victor

-- 
Victor Vengerov
OKTET Labs, St.-Petersburg, Russia  http://www.oktetlabs.ru
Phone: +78124286709 (office) +78129389372 (mobile) +78124281653 (home)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: statfs.2.gz
Type: application/gzip
Size: 2849 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20041126/bb15b9b6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statvfs.2.gz
Type: application/gzip
Size: 1949 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20041126/bb15b9b6/attachment-0001.bin>


More information about the users mailing list