mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-28 17:12:17 +00:00
Userspace utilities to manage btrfs filesystems
87d3875d4e
Hi all, enclose you can find a patch which improves the help of the btrfs commands, updates the INSTALL file and the btrfs (command) man page. Regarding the help of the btrfs command: - moved the "subvolume set-default" command in the "subvolume" commands group - removed a wrong new line - small tweak on the basis of Andreas suggestion Regarding the btrfs command man page: - renaming the command "device balance" in "filesystem balance" (thanks to Andreas Phillipp to highlight that) - adding the entry "subvolume find-new" - document the switches of the command "filesystem defrag" - document the <devid> facility of the command "filesystem resize" - small tweak on the basis of Andreas suggestion Regarding the INSTALL file, which was very old, I removed the reference of the old btrfsctl utility and changed the examples using the btrfs command. I removed the old (and now wrong) statement about the inability to delete a subvolume/snapshot Chris, you can pull the patch from the branch "help_cleanup" of the following repository. http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git (or you can browse the changes at http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git/?p=btrfs- progs-unstable-all.git;a=summary) The patch is very simple: only updates the man page, the INSTALL file and moves/updates some lines in the help of btrfs command. Comments are welcome. Regards G.Baroncelli INSTALL | 29 ++++++++++++++++++++--------- btrfs.c | 24 ++++++++++++------------ man/btrfs.8.in | 45 +++++++++++++++++++++++++-------------------- 3 files changed, 57 insertions(+), 41 deletions(-) all the block devices. .TP @@ -138,21 +143,21 @@ can expand the partition before enlarging the filesystem and shrink the partition after reducing the size of the filesystem. .TP -\fBfilesystem show\fR [<uuid>|<label>]\fR -Show the btrfs filesystem with some additional info. If no UUID or label is -passed, \fBbtrfs\fR show info of all the btrfs filesystem. +\fBfilesystem show\fR [<device>|<uuid>|<label>]\fR +Show the btrfs filesystem with some additional info. If no argument is +passed, \fBbtrfs\fR shows info of all the btrfs filesystems. .TP -\fBdevice balance\fR \fI<path>\fR +\fBfilesystem balance\fR \fI<path>\fR Balance the chunks of the filesystem identified by \fI<path>\fR across the devices. .TP -\fBdevice add\fR\fI <dev> [<dev>..] <path>\fR +\fBdevice add\fR\fI <device> [<device>...] <path>\fR Add device(s) to the filesystem identified by \fI<path>\fR. .TP -\fBdevice delete\fR\fI <dev> [<dev>..] <path>\fR +\fBdevice delete\fR\fI <device> [<device>...] <path>\fR Remove device(s) from a filesystem identified by \fI<path>\fR. .PP Signed-off-by: Chris Mason <chris.mason@oracle.com> |
||
---|---|---|
man | ||
.hgignore | ||
.hgtags | ||
bcp | ||
bit-radix.c | ||
bit-radix.h | ||
btrfs_cmds.c | ||
btrfs_cmds.h | ||
btrfs-defrag.c | ||
btrfs-image.c | ||
btrfs-list.c | ||
btrfs-map-logical.c | ||
btrfs-select-super.c | ||
btrfs-show.c | ||
btrfs-vol.c | ||
btrfs-zero-log.c | ||
btrfs.c | ||
btrfsck.c | ||
btrfsctl.c | ||
btrfstune.c | ||
convert.c | ||
COPYING | ||
crc32c.c | ||
crc32c.h | ||
ctree.c | ||
ctree.h | ||
debug-tree.c | ||
dir-item.c | ||
dir-test.c | ||
disk-io.c | ||
disk-io.h | ||
extent_io.c | ||
extent_io.h | ||
extent-cache.c | ||
extent-cache.h | ||
extent-tree.c | ||
file-item.c | ||
hash.h | ||
hasher.c | ||
inode-item.c | ||
inode-map.c | ||
INSTALL | ||
ioctl-test.c | ||
ioctl.h | ||
kerncompat.h | ||
list.h | ||
Makefile | ||
mkfs.c | ||
print-tree.c | ||
print-tree.h | ||
quick-test.c | ||
radix-tree.c | ||
radix-tree.h | ||
random-test.c | ||
rbtree.c | ||
rbtree.h | ||
root-tree.c | ||
show-blocks | ||
transaction.h | ||
utils.c | ||
utils.h | ||
version.sh | ||
volumes.c | ||
volumes.h |