svn commit: r274095 - head/release
Dmitry Morozovsky
marck at rinet.ru
Tue Nov 4 20:25:02 UTC 2014
On Tue, 4 Nov 2014, Jung-uk Kim wrote:
> >> Log: Fix VOLUME_LABEL when BRANCH contains non-alpha characters,
> >> in particular '-' and '.'.
> >
> > [snip]
> >
> > By the way, what are original reasons to not allow '-' and '_' in
> > volume names?
> >
> > It looks a bit inconsistent with other file systems volume
> > labels...
>
> AFAIK, it is an ISO9660 limitation, i.e., it must be "d-characters".
>
> http://wiki.osdev.org/ISO_9660#String_format
> http://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor
>
> In fact, makefs(8) enforces this rule.
Ah, so iso9660 has stricter rules than, say, xFAT/NTFS and even UFS...
Maybe then we could distinguish file system type given to makefs(8) and apply
different check/sed rules depending on it?
I mean: it looks a bit unexpected (if not uncomfortable) to have label set up
by outer OS accepted by geom_label (and thus created in /dev tree) but unable
to duplicate it via makefs(8) and similar mechanisms...
--
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------
More information about the svn-src-all
mailing list