How to determine file system size limits for individual files

Is there a way to determine file system size limits for individual files (e.g. 4gb for fat 32)?

It should work on Windows, but a portable solution would be better. Finding a file system type can be a workaround, but I don't know how you can do this.

Can anyone help me here?

Thanks in advance Tobias

+5
source share
2 answers

You can determine the file system type on Windows using GetVolumeInformation

+3
source

You can get the capacity limits of everything with boost::space()or directly using POSIX fstatvs().

... , , - , --, , ( , ).

0

All Articles