Easy DOSFS question
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Nov 26 01:46:54 UTC 2004
Victor V. Vengerov wrote:
> Etienne Fortin wrote:
>
>> Maybe I should look at that... But anyway, there will have to be some
>> sort of support from the various file system availables in RTEMS.
>>
>> I would see something like
>>
>> #include <rtems/fsinfo.h>
>> rtems_get_fs_usage(const char* mountpoint);
>>
>>
>>
> 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. :(
>> Maybe adding a function to the fs operations callbacks? Like a fs_stat()
>> call that would have to be implemented by the file system?
>>
>>
> Of course, additional fs callback will be required to support this.
>
> Victor
>
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list