From: Jim Meyering Date: Mon, 25 Apr 2011 12:40:45 +0000 (+0200) Subject: stat: recognize V9FS and ECRYPTFS file systems X-Git-Tag: v8.12~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd6cea345ceb25e10b4ecd7245d8c5725e126e97;p=platform%2Fupstream%2Fcoreutils.git stat: recognize V9FS and ECRYPTFS file systems * src/stat.c (human_fstype): Add magic numbers for V9FS and ECRYPTFS. --- diff --git a/src/stat.c b/src/stat.c index f26dced..4e6e1c3 100644 --- a/src/stat.c +++ b/src/stat.c @@ -268,6 +268,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "devfs"; case S_MAGIC_DEVPTS: /* 0x1CD1 */ return "devpts"; + case S_MAGIC_ECRYPTFS: /* 0xF15F */ + return "ecryptfs"; case S_MAGIC_EFS: /* 0x00414A53 */ return "efs"; case S_MAGIC_EXT: /* 0x137D */ @@ -374,6 +376,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "ufs"; case S_MAGIC_USBDEVFS: /* 0x9FA2 */ return "usbdevfs"; + case S_MAGIC_V9FS: /* 0x01021997 */ + return "v9fs"; case S_MAGIC_VXFS: /* 0xA501FCF5 */ return "vxfs"; case S_MAGIC_XENFS: /* 0xABBA1974 */