about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/linux_fsinfo.h3
-rw-r--r--sysdeps/unix/sysv/linux/pathconf.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h
index d108753085..41dbbde55c 100644
--- a/sysdeps/unix/sysv/linux/linux_fsinfo.h
+++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h
@@ -126,6 +126,9 @@
 /* Constants that identify the `xfs' filesystem.  */
 #define XFS_SUPER_MAGIC		0x58465342
 
+/* Constants that identify the `vxfs' filesystem.  */
+#define VXFS_SUPER_MAGIC	0xa501fcf5
+
 /* Maximum link counts.  */
 #define COH_LINK_MAX		10000
 #define EXT2_LINK_MAX		32000
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c
index d4159753a6..e12a08434a 100644
--- a/sysdeps/unix/sysv/linux/pathconf.c
+++ b/sysdeps/unix/sysv/linux/pathconf.c
@@ -130,6 +130,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf)
     case NTFS_SUPER_MAGIC:
     case UDF_SUPER_MAGIC:
     case JFS_SUPER_MAGIC:
+    case VXFS_SUPER_MAGIC:
       return 64;
 
     case MSDOS_SUPER_MAGIC: