2) knowing the file system from 1), how to check the remaining space
in the file system?
You normally just start writing and deal with the errors that come from full
file systems when they show up. The C functions set errno accordingly.
The reason is that the system lies about the
Am Montag, 18. Februar 2008 11:25:39 schrieb Olivier Nicole:
How to:
1) knowing the name of the directory, how toknow the file system it
belongs to (not considering symbolic links, I can decide that the
directory is always a real path);
2) knowing the file system from 1), how to check
Olivier Nicole wrote:
Hi,
I am writing a C application that would store files in a directory.
Before it starts storing files, I would like the application to check
is there is enough space in the file system.
How to:
1) knowing the name of the directory, how toknow the file system it