diff options
author | Ron Yorston <rmy@pobox.com> | 2019-03-20 11:31:07 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-03-20 11:38:32 +0000 |
commit | a8c63f25b3a8d4b8c9e12b8f6db65c61596da602 (patch) | |
tree | 7c39ee80787a2eba5702246a1b6f24276290f8c8 /coreutils | |
parent | 18bffeae48f300c813a4999067373498b534c166 (diff) | |
download | busybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.tar.gz busybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.tar.bz2 busybox-w32-a8c63f25b3a8d4b8c9e12b8f6db65c61596da602.zip |
win32: improve filesystem detection and display
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).
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/stat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coreutils/stat.c b/coreutils/stat.c index cf13af0b6..78b60603d 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -204,6 +204,9 @@ static const char *human_fstype(uint32_t f_type) | |||
204 | { 0x012FF7B5, "sysv4" }, | 204 | { 0x012FF7B5, "sysv4" }, |
205 | { 0x012FF7B6, "sysv2" }, | 205 | { 0x012FF7B6, "sysv2" }, |
206 | { 0x012FF7B7, "coh" }, | 206 | { 0x012FF7B7, "coh" }, |
207 | #if ENABLE_PLATFORM_MINGW32 | ||
208 | { 0x15013346, "udf" }, | ||
209 | #endif | ||
207 | { 0x00011954, "ufs" }, | 210 | { 0x00011954, "ufs" }, |
208 | { 0x012FD16D, "xia" }, | 211 | { 0x012FD16D, "xia" }, |
209 | { 0x5346544e, "ntfs" }, | 212 | { 0x5346544e, "ntfs" }, |