[Bug 235182] tunefs does not agree with newfs about what a legal label is

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 25 00:16:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235182

            Bug ID: 235182
           Summary: tunefs does not agree with newfs about what a legal
                    label is
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: darius at dons.net.au

Created attachment 201383
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201383&action=edit
Patch for tunefs

Currently tunefs only accepts alphanumerics, however newfs accepts these and
underscores.

The attached patch fixes it for me.

The man pages should also be updated with something like..
newfs ->
.It Fl L Ar volname
Add a volume label to the new file system. Legal characters are
alphanumerics and underscores.

tunefs ->
.It Fl L Ar volname
Add/modify an optional file system volume label. Legal characters
are alphanumerics and underscores.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list