linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: update man page for btrfs filesystem label
@ 2013-06-17 21:45 Guangyu Sun
  0 siblings, 0 replies; only message in thread
From: Guangyu Sun @ 2013-06-17 21:45 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Guangyu Sun

btrfs filesystem label can work on a mounted filesystem, also on a
multi-devices filesystem. And the restriction of label name is
changed, too. The man page should be updated accordingly.

Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
---
 man/btrfs.8.in |   17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index af7df4d..1da4ff1 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -263,22 +263,13 @@ it with the new desired size.  When recreating the partition make sure to use
 the same starting disk cylinder as before.
 .TP
 
-\fBfilesystem label\fP\fI <dev> [newlabel]\fP
-Show or update the label of a filesystem. \fI<dev>\fR is used to identify the
-filesystem. 
+\fBfilesystem label\fP\fI [<device>|<mountpoint>] [newlabel]\fP
+Show or update the label of a filesystem. \fI[<device>|<mountpoint>]\fR is used
+to identify the filesystem. 
 If a \fInewlabel\fR optional argument is passed, the label is changed. The
 following constraints exist for a label:
 .IP
-- the maximum allowable length shall be less or equal than 256 chars
-.IP
-- the label shall not  contain the '/' or '\\' characters.
-
-NOTE: Currently there are the following limitations:
-.IP
-- the filesystem has to be unmounted
-.IP
-- the filesystem should not have more than one device.
-.TP
+- the maximum allowable length shall be less than 256 chars
 
 \fBfilesystem show\fR [--all-devices|<uuid>|<label>]\fR
 Show the btrfs filesystem with some additional info. If no \fIUUID\fP or 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-17 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 21:45 [PATCH] btrfs-progs: update man page for btrfs filesystem label Guangyu Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).