On Tue, Jun 16, 2009 at 4:01 PM, erik quanstrom <quans...@coraid.com> wrote:
>
> > I forgot, / is actually illegal. I'm almost (but not quite) certain that \0 
> > is legal, and if I understand my emacs correctly you may be able to type it 
> > as ctrl-space. It displays as ^@ in emacs.
> >
>
> what system call do you use to create a file with \0 in the name?
> i'm not really keeping up, but last i checked creat doesn't take
> a filename length, and therefore the null will terminate the string.
>
> - erik
>

According to intro(5), \0 is illegal in a 9P text string. "The NUL
character is illegal in all text strings in 9P, and is therefore
excluded from file names, user names, and so on." I'm assuming from
this that Thou Shall Not Use NUL In Filenames.


John
--
"I've tried programming Ruby on Rails, following TechCrunch in my RSS
reader, and drinking absinthe. It doesn't work. I'm going back to C,
Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba

Reply via email to