diff options
author | Pádraig Brady <P@draigBrady.com> | 2016-04-21 21:48:50 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-04-22 22:47:48 +0100 |
commit | 8c8163838aa5589f5dfe2c94dcc48f0ab443fd35 (patch) | |
tree | 9e9d5985762079c24b5f966e5f48156cb7ee5942 /src | |
parent | 0f5d784bc6c8f63be70cffeaaa88aaca740c3bf6 (diff) | |
download | coreutils-8c8163838aa5589f5dfe2c94dcc48f0ab443fd35.tar.xz |
stat,tail: add support for Windows Subsystem for Linux
* src/stat.c (human_fstype): Add file system ID definition,
and use "wslfs" as the name.
* NEWS (Improvements): Mention the change.
Fixes http://bugs.gnu.org/23273
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c index ab69fbe7a..7a20ff782 100644 --- a/src/stat.c +++ b/src/stat.c @@ -470,6 +470,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "vxfs"; case S_MAGIC_VZFS: /* 0x565A4653 local */ return "vzfs"; + case S_MAGIC_WSLFS: /* 0x53464846 local */ + return "wslfs"; case S_MAGIC_XENFS: /* 0xABBA1974 local */ return "xenfs"; case S_MAGIC_XENIX: /* 0x012FF7B4 local */ |