summaryrefslogtreecommitdiff
path: root/win32/mntent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* df: display origin of mapped driveRon Yorston2019-04-011-1/+8
| | | | | | | | | | | | | | When a drive is mapped to a network share or a path display the mapping in the 'Filesystem' column of df's output. Since this changes the mnt_fsname field of the mntent structure a slight alteration is needed to print_all_cwd() in ash. Revert the change in commit a8c63f25b that enabled FEATURE_DF_FANCY in the default configuration. None of the additional options is very useful. See GitHub issue #164.
* win32: update implementation of setmntent(3)Ron Yorston2019-03-301-3/+4
| | | | | | | - The arguments to setmntent(3) are unused: add a macro to drop them at call sites. - Allow remote drives.
* win32: improve filesystem detection and displayRon Yorston2019-03-201-3/+6
| | | | | | | | | | 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: reduce amount of static dataRon Yorston2018-03-041-20/+26
| | | | | | | It appears that uninitialised static variables are placed in the data section rather than bss, increasing the size of the binary. Rewrite some code to reduce the amount of static data.
* win32: silence some compiler warningsRon Yorston2015-07-151-6/+8
|
* win32: attempt to get filesystem type for mntentRon Yorston2014-10-061-1/+8
|
* Fix some compiler warningsRon Yorston2014-03-131-2/+3
|
* df: limited implementation for WIN32Ron Yorston2013-04-031-0/+59