Re: named streams, extended attributes, and posix

Albert D. Cahalan
2001-01-21T07:28:19Z

Michael Rothwell writes:
> ...
>> Today, Michael Rothwell (rothwell@holly-springs.nc.us) wrote:

>>> The filesystem, when registering that it supports the "named streams"
>>> namespace, could specify its preferred delimiter to the VFS as well.
>>> Ext4 could use /directory/file/stream, and NTFS could use
>>> /directory/file:stream.
...
> Oh, undoubtedly. But NTFS already disallows several characters
> in valid filenames.

NTFS allows all 16-bit characters in filenames, including 0x0000.
Nothing is disallowed. The NT kernel's native API uses counted
Unicode strings. The strings can be huge too, like 128 kB.

So there isn't _any_ safe delimiter.

Win32 will choke on 0x0000 and a few other things, allowing a
clever person to create apparently inaccessible files.