xfs_admin doesn't allow label with spaces
Bug #1655491 reported by
Scott Machtmes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xfsprogs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The man page for xfs_admin -L does not preclude using spaces in the quoted string. However, a usage error message is printed when this is attempted such as:
# xfs_admin -L "My Label" /dev/sda1
Usage: xfs_admin [-efjlpuV] [-c 0|1] [-L label] [-U uuid] device
If this is indeed the coded restriction then the man page should be updated to specify that only a string without spaces is allowed.
Otherwise, if spaces are intended to be allowed, there is a bug in doing so.
Tested against Ubuntu 14.04.5 LTS
To post a comment you must log in.