[OpenAFS] Restrictions on volume names

Steve Simmons scs@umich.edu
Wed, 29 Nov 2006 15:51:35 -0500


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.