-
- Downloads
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>
Showing
- Documentation/ABI/testing/sysfs-fs-nilfs2 44 additions, 0 deletionsDocumentation/ABI/testing/sysfs-fs-nilfs2
- fs/nilfs2/sysfs.c 168 additions, 0 deletionsfs/nilfs2/sysfs.c
- fs/nilfs2/sysfs.h 20 additions, 0 deletionsfs/nilfs2/sysfs.h
- fs/nilfs2/the_nilfs.h 6 additions, 0 deletionsfs/nilfs2/the_nilfs.h
Loading
Please register or sign in to comment