diff options
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/proc.txt | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index bcc27c97efbb..fd8d0d594fc7 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -1698,21 +1698,27 @@ pair provide additional information particular to the objects they represent. | |||
1698 | If the kernel is built without exportfs support the file handle won't be | 1698 | If the kernel is built without exportfs support the file handle won't be |
1699 | printed out. | 1699 | printed out. |
1700 | 1700 | ||
1701 | For fanotify files the format is | 1701 | If there is no inotify mark attached yet the 'inotify' line will be omitted. |
1702 | |||
1703 | pos: 0 | ||
1704 | flags: 02 | ||
1705 | fanotify ino:2 sdev:800013 mask:1 ignored_mask:40000000 fhandle-bytes:8 fhandle-type:1 f_handle:0200000000000000 | ||
1706 | 1702 | ||
1707 | or | 1703 | For fanotify files the format is |
1708 | 1704 | ||
1709 | pos: 0 | 1705 | pos: 0 |
1710 | flags: 02 | 1706 | flags: 02 |
1711 | fanotify mnt_id:13 mask:1 ignored_mask:40000000 | 1707 | fanotify flags:10 event-flags:0 |
1712 | 1708 | fanotify mnt_id:12 mflags:40 mask:38 ignored_mask:40000003 | |
1713 | where 'ino', 'sdev' are target inode and device, 'mnt_id' is the mount | 1709 | fanotify ino:4f969 sdev:800013 mflags:0 mask:3b ignored_mask:40000000 fhandle-bytes:8 fhandle-type:1 f_handle:69f90400c275b5b4 |
1714 | point identifier, 'mask' is the events mask used and 'ignored_mask' is | 1710 | |
1715 | the mask of events which are to be ignored. All in hex format. | 1711 | where fanotify 'flags' and 'event-flags' are values used in fanotify_init |
1712 | call, 'mnt_id' is the mount point identifier, 'mflags' is the value of | ||
1713 | flags associated with mark which are tracked separately from events | ||
1714 | mask. 'ino', 'sdev' are target inode and device, 'mask' is the events | ||
1715 | mask and 'ignored_mask' is the mask of events which are to be ignored. | ||
1716 | All in hex format. Incorporation of 'mflags', 'mask' and 'ignored_mask' | ||
1717 | does provide information about flags and mask used in fanotify_mark | ||
1718 | call [see fsnotify manpage for details]. | ||
1719 | |||
1720 | While the first three lines are mandatory and always printed, the rest is | ||
1721 | optional and may be omitted if no marks created yet. | ||
1716 | 1722 | ||
1717 | 1723 | ||
1718 | ------------------------------------------------------------------------------ | 1724 | ------------------------------------------------------------------------------ |