[Bug 220163] Allowed characters in UFS volume labels using /sbin/newfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 20 17:53:08 UTC 2017


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

            Bug ID: 220163
           Summary: Allowed characters in UFS volume labels using
                    /sbin/newfs
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: freebsd.bug at nagykeve.e4ward.com

The official FreeBSD memstick image contains an UFS volume labelled
"FreeBSD_Install", and such a volume shows up under /dev/ufs/FreeBSD_Install
nicely.

Try to create such an UFS volume using "newfs -L 'FreeBSD_Install' /dev/da0s1"
and it will fail, claiming that the underscore is not allowed in the label.

If underscores are valid characters for use in an UFS label then newfs needs to
be fixed to accept them.
If underscores are NOT valid characters for use in an UFS label then official
FreeBSD install media SHOULD NOT be distributed using such labels, because it
is a bad example.

Affects 11.0-RELEASE + 10.3-RELEASE, probably more.
This is a low priority issue, but it should be clarified sooner or later
because at its current state this is inconsistent and confusing. Although, very
likely NOT many people lose sleep over this. :)

Regards,
Keve Nagy * Debrecen * Hungary

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


More information about the freebsd-bugs mailing list