diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2011-07-08 12:25:11 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-11-02 15:45:45 -0400 |
commit | dcdbc1ce18ef73224198d45d8463a86709379202 (patch) | |
tree | 433cf8b577456f99e4885ca9a79d7814c3414ff3 | |
parent | d2600786960bcfcecf9bbfd5bd055cf27212c524 (diff) |
Btrfs-progs: added resolve commands to man page
Added "inspect-internal inode-resolve" and "inspect-internal
logical-resolve" to the btrfs(8) man page.
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
-rw-r--r-- | man/btrfs.8.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in index ab9f44f5..be478e02 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -47,6 +47,11 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBscrub status\fP [-d] {\fI<path>\fP|\fI<device>\fP} .PP +\fBbtrfs\fP \fBinspect-internal inode-resolve\fP [-v] \fI<inode>\fP \fI<path>\fP +.PP +\fBbtrfs\fP \fBinspect-internal logical-resolve\fP +[-Pv] \fI<logical>\fP \fI<path>\fP +.PP \fBbtrfs\fP \fBhelp|\-\-help|\-h \fP\fI\fP .PP \fBbtrfs\fP \fB<command> \-\-help \fP\fI\fP @@ -278,6 +283,30 @@ for that filesystem or device. .IP -d 5 Print separate statistics for each device of the filesystem. .RE +.TP + +\fBinspect-internal inode-resolve\fP [-v] \fI<inode>\fP \fI<path>\fP +Resolves an <inode> in subvolume <path> to all filesystem paths. +.RS + +\fIOptions\fR +.IP -v 5 +verbose mode. print count of returned paths and ioctl() return value +.RE +.TP + +\fBinspect-internal logical-resolve\fP [-Pv] \fI<logical>\fP \fI<path>\fP +Resolves a <logical> address in the filesystem mounted at <path> to all inodes. +By default, each inode is then resolved to a file system path (similar to the +\fBinode-resolve\fP subcommand). +.RS + +\fIOptions\fR +.IP -P 5 +skip the path resolving and print the inodes instead +.IP -v 5 +verbose mode. print count of returned paths and all ioctl() return values +.RE .SH EXIT STATUS \fBbtrfs\fR returns a zero exist status if it succeeds. Non zero is returned in |