aboutsummaryrefslogtreecommitdiff
path: root/win32/statfs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: save a few bytes in statfsRon Yorston2020-02-161-3/+5
| | | | | | | Use memset() to fill the structure with zeroes, avoiding the need to set some members explicitly. Saves 16 bytes.
* win32: save space in statfsRon Yorston2020-02-151-20/+5
| | | | | | | | Place filesystem names in a single null-separated string and search it using index_in_strings(). Use the result (offset by 1 to allow for failure) to index an array of filesytem types. Saves 112 bytes.
* win32: improve filesystem detection and displayRon Yorston2019-03-201-4/+7
| | | | | | | | | | Miscellaneous improvements: - Enable '-a' option to display all filesystems in df(1). - Detect the UDF CDROM filesystem and display it in 'stat -f'. - Let getmntent(3) handle CDROM and floppy devices, ignoring those that have no media. - Set number of inodes and filesystem flags to 0 in statfs(2).
* win32: drop argument from err_win_to_posix()Ron Yorston2019-03-061-2/+2
|
* win32: define statvfs as statfsRon Yorston2017-11-031-1/+1
| | | | | | df now uses statvfs instead of statfs. Support this by pretending that statfs *is* statvfs. Not really true but good enough for the present purpose.
* win32: improve implementation of statfsRon Yorston2015-11-011-12/+12
| | | | The WIN32 calls should be passed the root directory of the filesystem.
* Extend WIN32 statfs to include type, fsid and namelenRon Yorston2014-01-061-3/+33
|
* df: limited implementation for WIN32Ron Yorston2013-04-031-0/+50