[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Easy DOSFS question
- Date: Thu, 25 Nov 2004 19:46:54 -0600
- From: joel.sherrill at OARcorp.com (Joel Sherrill <joel at OARcorp dot com>)
- Subject: Easy DOSFS question
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