Easy DOSFS question
Eugeny S. Mints
emints at ru.mvista.com
Thu Nov 25 14:17:40 UTC 2004
Hi all,
Actually I'm not sure and unfortunately have no time right now to
investigate the issue in more details but whether the free_cls field of
the structure fat_vol_s may be usefull to implement the required
functionality?
Regards,
Eugeny
Victor V. Vengerov wrote:
> Thomas Doerfler wrote:
>
>> Hi Etienne,
>>
>>
>>
>>> Hi Thomas,
>>> Is there a way to get the free space available on a DOSFS mount?
>>>
>>
>>
>> Easy answer: no :-(
>>
>> Basically, you would have to walk through the FAT to find things out.
>> And there is no call to do things like that right now.
>>
>>
> At start of day, you may open dummy file and make binary search of
> maximum free space available by calling seek(,,SEEK_SET), assuming that
> no other file system activity happens. But this is kludge.
>
> Victor
>
>
More information about the users
mailing list