path: root/Documentation/btrfs-inspect-internal.asciidoc
diff options
authorDavid Sterba <>2015-07-20 17:31:43 +0200
committerDavid Sterba <>2015-08-31 19:25:08 +0200
commit5b1c5b88786297a8582c8ad211289a090f8e8435 (patch)
tree19634859381e6f2d7b1c74a10cdedec9790591be /Documentation/btrfs-inspect-internal.asciidoc
parent934dd0e1f720b3c1feb06e8b5db519f6bb2565e8 (diff)
btrfs-progs: inspect: add command min-dev-size
Previously in 'filesystem resize get_min_size', now 'inspect-internal min-dev-size'. We'd like to avoid cluttering the 'resize' syntax further. The test has been updated to exercise the new option. Signed-off-by: David Sterba <>
Diffstat (limited to 'Documentation/btrfs-inspect-internal.asciidoc')
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc
index 9f6ffac8..f3f915bb 100644
--- a/Documentation/btrfs-inspect-internal.asciidoc
+++ b/Documentation/btrfs-inspect-internal.asciidoc
@@ -41,6 +41,15 @@ set inode container's size.
This is used to increase inode container's size in case it is
not enough to read all the resolved results. The max value one can set is 64k.
+*min-dev-size* [options] <path>::
+Return the minimum size the device can be shrunk to, without performing any
+resize operation.
+specify the device id to query, default is 1
*rootid* <path>::
For a given file or directory, return the containing tree root id. For a
subvolume return it's own tree id.