I
Ilya Zakharevich
That's impossible. All the syscalls dealing with filenames treat "\0" as
a terminator. There is no way to create or access a file with a null in
its name[1].
It is not a problem to create or access a file with a null in its name
on Unix. (Remember read()/write() syscalls?)
read and write syscalls do not create or access files. Unless you are
talking about opening the block device and reading from/writing to that.
Either that, or doing read()/write() with a directory.
But in that case you aren't "accessing files with a null in its name",
you are just accessing one huge file the size of your (logical) disk.
Yes I do. As your "filesystem driver" would eventually do as when you
ask for
mv foo bar
Hope this helps,
Ilya