[PATCH] btrfs-progs: btrfs.8.in: Add info about reverting back to root subvolume.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'btrfs subvolume list <path>' does not list the root subvolume's ID.
Hence there is no way for the user to set the root subvolume as the
default subvolume unless he knows about the magic number 5 (i.e.
BTRFS_FS_TREE_OBJECTID).

Signed-off-by: chandan <chandan@xxxxxxxxxxxxxxxxxx>
---
 man/btrfs.8.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 61ffe8d..36846b6 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -244,7 +244,8 @@ is similar to \fBsubvolume list\fR command.
 \fBsubvolume set-default\fR\fI <id> <path>\fR
 Set the subvolume of the filesystem \fI<path>\fR which is mounted as
 \fIdefault\fR. The subvolume is identified by \fI<id>\fR, which
-is returned by the \fBsubvolume list\fR command.
+is returned by the \fBsubvolume list\fR command. The default subvolume
+can be set to the root subvolume by passing an \fI<id>\fR value of 5.
 .TP
 
 \fBsubvolume find-new\fR\fI <subvolume> <last_gen>\fR
-- 
1.8.3.1


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux