~ubuntu-branches/ubuntu/utopic/util-linux/utopic-proposed

« back to all changes in this revision

Viewing changes to include/statfs_magic.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-08-18 15:43:56 UTC
  • mfrom: (1.6.5) (4.1.16 experimental)
  • Revision ID: package-import@ubuntu.com-20140818154356-sqn436j3vndc62qb
Tags: 2.25-8ubuntu1
* Merge with Debian experimental.
  - This is now a non-ancient version. (LP: #1012081)
  - No longer uses /etc/blkid.tab by default, but a file in /run/.
    (LP: #1244595)
  - mkswap wipes fs signatures (LP: #1047666)
  - Fix "reatime" manpage typo (LP: #1047666)
  - wipefs properly cleans up fs signatures (LP: #1059872)
  Remaining Ubuntu changes:
  - Regularly trim SSDs automatically (core-1311-ssd-trimming):
    + Add debian/fstrim-all: Script to detect which mounted partitions
      need/support trimming, and call fstrim(8) on all of them.
      Install into /usr/sbin/.
    + Add debian/fstrim-all.8: Manpage for the above.
    + Add debian/fstrim-all.cron: Trivial shell script to call fstrim-all,
      so that admins can easily adjust/disable it. Installed as
      /etc/cron.weekly/fstrim.
  - Upstart support:
    + Add hwclock{-save}.upstart, and install them in debian/rules.
    + Drop initscripts dependency.
    + Drop debian/hwclock.rules and hwclock.default.
  - Add mountall-options.patch, see patch header.
  - uuid-runtime.postinst: Due to the way the uuidd account is created, it
    will get a uid/gid allocation for userns use. This isn't needed and is a
    waste of uid/gid so always clear uuidd from subuid/subgid.
* Drop /lib/init/fstab parsing fallback in mount. Patch does not apply at
  all any more, is specific to mountall (and thus should not be relied
  upon), and not very useful; all init systems, schroot, debootstrap etc.
  mount /sys, /proc/ and friends by themselves already.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef UTIL_LINUX_STATFS_MAGIC_H
 
2
#define UTIL_LINUX_STATFS_MAGIC_H
 
3
 
 
4
/*
 
5
 *  Unfortunately, Linux kernel hedeader file <linux/magic.h> is incomplete
 
6
 *  mess and kernel returns by statfs f_type many numbers that are nowhere
 
7
 *  specified (in API).
 
8
 *
 
9
 *  This is collection of the magic numbers.
 
10
 */
 
11
#define STATFS_ADFS_MAGIC       0xadf5
 
12
#define STATFS_AFFS_MAGIC       0xadff
 
13
#define STATFS_AFS_MAGIC        0x5346414F
 
14
#define STATFS_AUTOFS_MAGIC     0x0187
 
15
#define STATFS_BDEVFS_MAGIC     0x62646576
 
16
#define STATFS_BEFS_MAGIC       0x42465331
 
17
#define STATFS_BFS_MAGIC        0x1BADFACE
 
18
#define STATFS_BINFMTFS_MAGIC   0x42494e4d
 
19
#define STATFS_BTRFS_MAGIC      0x9123683E
 
20
#define STATFS_CEPH_MAGIC       0x00c36400
 
21
#define STATFS_CGROUP_MAGIC     0x27e0eb
 
22
#define STATFS_CIFS_MAGIC       0xff534d42
 
23
#define STATFS_CODA_MAGIC       0x73757245
 
24
#define STATFS_CONFIGFS_MAGIC   0x62656570
 
25
#define STATFS_CRAMFS_MAGIC     0x28cd3d45
 
26
#define STATFS_DEBUGFS_MAGIC    0x64626720
 
27
#define STATFS_DEVPTS_MAGIC     0x1cd1
 
28
#define STATFS_ECRYPTFS_MAGIC   0xf15f
 
29
#define STATFS_EFIVARFS_MAGIC   0xde5e81e4
 
30
#define STATFS_EFS_MAGIC        0x414A53
 
31
#define STATFS_EXOFS_MAGIC      0x5DF5
 
32
#define STATFS_EXT2_MAGIC       0xEF53
 
33
#define STATFS_EXT3_MAGIC       0xEF53
 
34
#define STATFS_EXT4_MAGIC       0xEF53
 
35
#define STATFS_F2FS_MAGIC       0xF2F52010
 
36
#define STATFS_FUSE_MAGIC       0x65735546
 
37
#define STATFS_FUTEXFS_MAGIC    0xBAD1DEA
 
38
#define STATFS_GFS2_MAGIC       0x01161970
 
39
#define STATFS_HFSPLUS_MAGIC    0x482b
 
40
#define STATFS_HOSTFS_MAGIC     0x00c0ffee
 
41
#define STATFS_HPFS_MAGIC       0xf995e849
 
42
#define STATFS_HPPFS_MAGIC      0xb00000ee
 
43
#define STATFS_HUGETLBFS_MAGIC  0x958458f6
 
44
#define STATFS_ISOFS_MAGIC      0x9660
 
45
#define STATFS_JFFS2_MAGIC      0x72b6
 
46
#define STATFS_JFS_MAGIC        0x3153464a
 
47
#define STATFS_LOGFS_MAGIC      0xc97e8168
 
48
#define STATFS_MINIX2_MAGIC     0x2468
 
49
#define STATFS_MINIX2_MAGIC2    0x2478
 
50
#define STATFS_MINIX3_MAGIC     0x4d5a
 
51
#define STATFS_MINIX_MAGIC      0x137F
 
52
#define STATFS_MINIX_MAGIC2     0x138F
 
53
#define STATFS_MQUEUE_MAGIC     0x19800202
 
54
#define STATFS_MSDOS_MAGIC      0x4d44
 
55
#define STATFS_NCP_MAGIC        0x564c
 
56
#define STATFS_NFS_MAGIC        0x6969
 
57
#define STATFS_NILFS_MAGIC      0x3434
 
58
#define STATFS_NTFS_MAGIC       0x5346544e
 
59
#define STATFS_OCFS2_MAGIC      0x7461636f
 
60
#define STATFS_OMFS_MAGIC       0xC2993D87
 
61
#define STATFS_OPENPROMFS_MAGIC 0x9fa1
 
62
#define STATFS_PIPEFS_MAGIC     0x50495045
 
63
#define STATFS_PROC_MAGIC       0x9fa0
 
64
#define STATFS_PSTOREFS_MAGIC   0x6165676C
 
65
#define STATFS_QNX4_MAGIC       0x002f
 
66
#define STATFS_QNX6_MAGIC       0x68191122
 
67
#define STATFS_RAMFS_MAGIC      0x858458f6
 
68
#define STATFS_REISERFS_MAGIC   0x52654973
 
69
#define STATFS_ROMFS_MAGIC      0x7275
 
70
#define STATFS_SECURITYFS_MAGIC 0x73636673
 
71
#define STATFS_SELINUXFS_MAGIC  0xf97cff8c
 
72
#define STATFS_SMACKFS_MAGIC    0x43415d53
 
73
#define STATFS_SMB_MAGIC        0x517B
 
74
#define STATFS_SOCKFS_MAGIC     0x534F434B
 
75
#define STATFS_SQUASHFS_MAGIC   0x73717368
 
76
#define STATFS_SYSFS_MAGIC      0x62656572
 
77
#define STATFS_TMPFS_MAGIC      0x01021994
 
78
#define STATFS_UBIFS_MAGIC      0x24051905
 
79
#define STATFS_UDF_MAGIC        0x15013346
 
80
#define STATFS_UFS2_MAGIC       0x19540119
 
81
#define STATFS_UFS_MAGIC        0x00011954
 
82
#define STATFS_V9FS_MAGIC       0x01021997
 
83
#define STATFS_VXFS_MAGIC       0xa501FCF5
 
84
#define STATFS_XENFS_MAGIC      0xabba1974
 
85
#define STATFS_XFS_MAGIC        0x58465342
 
86
 
 
87
#endif /* UTIL_LINUX_STATFS_MAGIC_H */
 
88