UFS filesystems allow label/volume names containing alphanumeric
characters only. There is a need for at least one separator character.
This request and patches were submitted to freebsd-fs@ and freebsd-
current@ but no one on those lists seems to be willing to commit this
innocuous patch. I've been using a patched system for well over a year
on a number of systems.
Fix: One of the following patches, to allow acceptable POSIX filename
characters as part of UFS labels.
The first manually tests against the acceptable characters, which
should be faster. This second patch is using strspn(3) as suggested
by des@ in case the first patch is not acceptable. It is slower but
we are likely going to do I/O anyway. I don't care which patch you
choose, just please someone commit the damn thing! =)
Patch attached with submission follows:
How-To-Repeat: /sbin/newfs -L volume-name ...
/sbin/tunefs -L volume-name ...
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped