btrfs-progs: update man page for btrfs filesystem label

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>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
This commit is contained in:
Guangyu Sun 2013-06-17 14:45:23 -07:00 committed by David Sterba
parent 6634da9c9a
commit 668aedeaa6
1 changed files with 4 additions and 13 deletions

View File

@ -265,22 +265,13 @@ it with the new desired size. When recreating the partition make sure to use
the same starting disk cylinder as before. the same starting disk cylinder as before.
.TP .TP
\fBfilesystem label\fP\fI <dev> [newlabel]\fP \fBfilesystem label\fP\fI [<device>|<mountpoint>] [newlabel]\fP
Show or update the label of a filesystem. \fI<dev>\fR is used to identify the Show or update the label of a filesystem. \fI[<device>|<mountpoint>]\fR is used
filesystem. to identify the filesystem.
If a \fInewlabel\fR optional argument is passed, the label is changed. The If a \fInewlabel\fR optional argument is passed, the label is changed. The
following constraints exist for a label: following constraints exist for a label:
.IP .IP
- the maximum allowable length shall be less or equal than 256 chars - the maximum allowable length shall be less 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
\fBfilesystem show\fR [--all-devices|<uuid>|<label>]\fR \fBfilesystem show\fR [--all-devices|<uuid>|<label>]\fR
Show the btrfs filesystem with some additional info. If no \fIUUID\fP or Show the btrfs filesystem with some additional info. If no \fIUUID\fP or