[Bug 1655491] [NEW] xfs_admin doesn't allow label with spaces

Scott Machtmes smachtmes at mirantis.com
Tue Jan 10 23:13:32 UTC 2017


Public bug reported:

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

** Affects: xfsprogs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xfsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1655491

Title:
  xfs_admin doesn't allow label with spaces

Status in xfsprogs package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/1655491/+subscriptions



More information about the foundations-bugs mailing list