[OpenAFS] Restrictions on volume names
Thu, 30 Nov 2006 09:01:15 +0100
On Wed, 2006-11-29 at 15:51 -0500, Steve Simmons wrote:
> On Nov 27, 2006, at 6:09 AM, Arne Wiebalck wrote:
> > Hi all,
> > browsing through the documentation and the code for some
> > time, the only limitation I found for volume names is the
> > length restriction to 22 chars (and the forbidden suffices
> > for RO and BK volumes).
> > I found no restriction on the character set for
> > volume names (like excluding some special characters like
> > '/' or '&', for instance) ... are there any such
> > limitations? And if yes, can anyone point me to the place
> > in the code where these restrictions are checked?
> Dan Hyde and I had occasion to look this up a few days ago. There are
> definitely restrictions on what characters can be used, the allowed
> set is a-z, A-Z, 0-9, period, dash and underscore.
Thanks. Just for completeness: a colleague of mine (thanks, Rainer!)
also pointed me to the place where this is defined:
a preprocessor directive defines
which contains exactly the characters you mentioned.