Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2014 15:16:13 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Dmitry Morozovsky <marck@rinet.ru>, Glen Barber <gjb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r274095 - head/release
Message-ID:  <5459340D.2030605@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1411042244180.47840@woozle.rinet.ru>
References:  <201411041724.sA4HOEGD098532@svn.freebsd.org> <alpine.BSF.2.00.1411042244180.47840@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/04/2014 14:45, Dmitry Morozovsky wrote:
> On Tue, 4 Nov 2014, Glen Barber wrote:
> 
>> Author: gjb Date: Tue Nov  4 17:24:13 2014 New Revision: 274095 
>> URL: https://svnweb.freebsd.org/changeset/base/274095
>> 
>> 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.

https://svnweb.freebsd.org/base/head/usr.sbin/makefs/cd9660.c?annotate=253707#l343
https://svnweb.freebsd.org/base/head/usr.sbin/makefs/cd9660.c?annotate=253707#l270
https://svnweb.freebsd.org/base/head/usr.sbin/makefs/cd9660/cd9660_strings.c?annotate=219956#l57

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUWTQNAAoJEHyflib82/FGwv0H/1P+TbNgugx5H6zkb/FL9j1/
wbP4vqlwV/L+kxmtZgeaa6Oe42ki9o0N6wXyDuran/aQISsXnz8AastSqwWDUVTA
HWVWauJgdVWlJ4PKGxbX1Dkn4fuIVqxjLzVOt3U7Jw18chsNlF2B21vmrFoBnqAj
EpOnKKCHyJ6oBlWamFawMyFILI9UgrLGGsrxqnNbemU5LVW4cLSloTu2rJUfRhkp
N/jITXIKrcaZ3se2Sha11Ue0rjo6d88wyqjJfNSfl4ipKMKvHLkV+8wXRZ6hc1G/
Jb5C+fvlvGIj9Lxyo/h24LpjOfANEvrLdsFd4bLY+NEOe5nlVg/cbAJyrq64b7M=
=GK65
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5459340D.2030605>