]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_io: implement 'inode' command progs-misc-fixes-for-4.6
authorCarlos Maiolino <cmaiolino@redhat.com>
Mon, 29 Feb 2016 05:03:40 +0000 (16:03 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Feb 2016 05:03:40 +0000 (16:03 +1100)
commitef25c9e4056a93fa408cabcd1ca44aba34737037
treefd8f1726bb8e241c91c36864dbcc622ed4a84149
parent2ab8ecbe62cf4d558a0e37f1c8cc283ab5f7b199
xfs_io: implement 'inode' command

Implements a new xfs_io command, named 'inode', which is supposed to be
used to query information about inode's existence and its physical size
in the filesystem.

Supported options:

Default:     -- Return true(1) or false(0) if any inode greater than
                32bits has been found in the filesystem
[num]        -- Return inode number or 0 if the inode [num] is in use
-n [num]     -- Return the next valid inode after [num]
-v           -- verbose mode
                Display the inode number and its physical size according to the
argument used

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
io/open.c