diff options
author | Roland McGrath <roland@gnu.org> | 2002-10-18 19:03:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-10-18 19:03:55 +0000 |
commit | 69c708edbc722e0f51fe1f6c50ebf1ca7924eb83 (patch) | |
tree | 2e6c82d058c29088dd4fa9b461e25e1c71dbf6a1 /sysdeps/unix/sysv/linux/linux_fsinfo.h | |
parent | 2e9d4e8c883c1145bca2710e7fba83e9387c664b (diff) | |
download | glibc-69c708edbc722e0f51fe1f6c50ebf1ca7924eb83.tar.gz glibc-69c708edbc722e0f51fe1f6c50ebf1ca7924eb83.tar.xz glibc-69c708edbc722e0f51fe1f6c50ebf1ca7924eb83.zip |
* sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
(statfs_filesize_max): New function. * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC, JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC, ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use statfs_filesize_max. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise. * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
Diffstat (limited to 'sysdeps/unix/sysv/linux/linux_fsinfo.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/linux_fsinfo.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h index 8aa7e28c7c..0e67fe7245 100644 --- a/sysdeps/unix/sysv/linux/linux_fsinfo.h +++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h @@ -58,6 +58,15 @@ /* Constant that identifies the `iso9660' filesystem. */ #define ISOFS_SUPER_MAGIC 0x9660 +/* Constant that identifies the `jffs' filesystem. */ +#define JFFS_SUPER_MAGIC 0x07c0 + +/* Constant that identifies the `jffs2' filesystem. */ +#define JFFS2_SUPER_MAGIC 0x72b6 + +/* Constant that identifies the `jfs' filesystem. */ +#define JFS_SUPER_MAGIC 0x3153464a + /* Constants that identify the `minix2' filesystem. */ #define MINIX2_SUPER_MAGIC 0x2468 #define MINIX2_SUPER_MAGIC2 0x2478 @@ -75,6 +84,9 @@ /* Constants that identify the `nfs' filesystem. */ #define NFS_SUPER_MAGIC 0x6969 +/* Constants that identify the `ntfs' filesystem. */ +#define NTFS_SUPER_MAGIC 0x5346544e + /* Constants that identify the `proc' filesystem. */ #define PROC_SUPER_MAGIC 0x9fa0 @@ -84,6 +96,9 @@ /* Constants that identify the `reiser' filesystem. */ #define REISERFS_SUPER_MAGIC 0x52654973 +/* Constant that identifies the `romfs' filesystem. */ +#define ROMFS_SUPER_MAGIC 0x7275 + /* Constants that identify the `smb' filesystem. */ #define SMB_SUPER_MAGIC 0x517b @@ -91,6 +106,9 @@ #define SYSV2_SUPER_MAGIC 0x012ff7b6 #define SYSV4_SUPER_MAGIC 0x012ff7b5 +/* Constants that identify the `udf' filesystem. */ +#define UDF_SUPER_MAGIC 0x15013346 + /* Constants that identify the `ufs' filesystem. */ #define UFS_MAGIC 0x00011954 #define UFS_CIGAM 0x54190100 /* byteswapped MAGIC */ |