diff options
author | Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com> | 2014-08-08 17:20:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:20 -0400 |
commit | da7141fb78db915680616e15677539fc8140cf53 (patch) | |
tree | fcec7b80ddf5bf6ff0b98b1ca7fa7610bf309432 /Documentation/ABI/testing | |
parent | aebe17f6844488ff0b824fbac28d9f342f7b078e (diff) |
nilfs2: add /sys/fs/nilfs2/<device> group
This patch adds creation of /sys/fs/nilfs2/<device> group.
The <device> group contains attributes that describe file
system partition's details:
(1) revision - show NILFS file system revision.
(2) blocksize - show volume block size in bytes.
(3) device_size - show volume size in bytes.
(4) free_blocks - show count of free blocks on volume.
(5) uuid - show volume's UUID.
(6) volume_name - show volume's name.
Signed-off-by: Vyacheslav Dubeyko <Vyacheslav.Dubeyko@hgst.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Michael L. Semon <mlsemon35@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r-- | Documentation/ABI/testing/sysfs-fs-nilfs2 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-nilfs2 b/Documentation/ABI/testing/sysfs-fs-nilfs2 index 71b4fd39f74d..0a521d03539a 100644 --- a/Documentation/ABI/testing/sysfs-fs-nilfs2 +++ b/Documentation/ABI/testing/sysfs-fs-nilfs2 | |||
@@ -12,3 +12,47 @@ Date: April 2014 | |||
12 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | 12 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> |
13 | Description: | 13 | Description: |
14 | Describe attributes of /sys/fs/nilfs2/features group. | 14 | Describe attributes of /sys/fs/nilfs2/features group. |
15 | |||
16 | What: /sys/fs/nilfs2/<device>/revision | ||
17 | Date: April 2014 | ||
18 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
19 | Description: | ||
20 | Show NILFS file system revision on volume. | ||
21 | This value informs about metadata structures' | ||
22 | revision on mounted volume. | ||
23 | |||
24 | What: /sys/fs/nilfs2/<device>/blocksize | ||
25 | Date: April 2014 | ||
26 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
27 | Description: | ||
28 | Show volume's block size in bytes. | ||
29 | |||
30 | What: /sys/fs/nilfs2/<device>/device_size | ||
31 | Date: April 2014 | ||
32 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
33 | Description: | ||
34 | Show volume size in bytes. | ||
35 | |||
36 | What: /sys/fs/nilfs2/<device>/free_blocks | ||
37 | Date: April 2014 | ||
38 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
39 | Description: | ||
40 | Show count of free blocks on volume. | ||
41 | |||
42 | What: /sys/fs/nilfs2/<device>/uuid | ||
43 | Date: April 2014 | ||
44 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
45 | Description: | ||
46 | Show volume's UUID (Universally Unique Identifier). | ||
47 | |||
48 | What: /sys/fs/nilfs2/<device>/volume_name | ||
49 | Date: April 2014 | ||
50 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
51 | Description: | ||
52 | Show volume's label. | ||
53 | |||
54 | What: /sys/fs/nilfs2/<device>/README | ||
55 | Date: April 2014 | ||
56 | Contact: "Vyacheslav Dubeyko" <slava@dubeyko.com> | ||
57 | Description: | ||
58 | Describe attributes of /sys/fs/nilfs2/<device> group. | ||