From bd6cea345ceb25e10b4ecd7245d8c5725e126e97 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 25 Apr 2011 14:40:45 +0200 Subject: [PATCH] stat: recognize V9FS and ECRYPTFS file systems * src/stat.c (human_fstype): Add magic numbers for V9FS and ECRYPTFS. --- src/stat.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.7.4