Hi Christopher,

On Wed, 20 Jun 2007, Christopher Lees wrote:

> I have found what I believe to be a shortcoming in the driver. It allows
> colons to be used in filenames or directory names, when Windows XP does
> not support this and will give an error if you try to open such a
> directory.
>
> I am using version 1:1.328-1 from Ubuntu 7.04 Universe, with Fuse
> 2.6.3-1 and kernel 2.6.20-15, and Gnome 2.18.1 (I used Nautilus to
> create the directory with the colon in the filename).
>
> As a colon is perfectly legal in Linux filesystems, and many former
> Windows users are still conditioned to use only the basic characters in
> filenames, it looks like this shortcoming might have slipped through the
> cracks. I wouldn't quite call it a bug, as NTFS doesn't have to be
> intrinsically linked to Windows; this is more of a Windows problem.

NTFS has several file namespaces: DOS, WIN32, POSIX. Linux, as a POSIX OS,
always creates files in the POSIX namespace. Characters in the file name
can be anything except '/' and '\0'. These files are accessible via the WIN
API on Windows only if they don't have "forbidden" characters. To handle
these files on Windows, the same way as on Linux, one needs to install the
Windows Services for Unix (SFU) freely available Microsoft package.

In sort, everything behaves as it was designed. No problem on Linux and all
the files are accessible if SFU is installed on Windows.

If a non-posix file namespace handling is desirable on Linux then I suggest
exporting the NTFS volume via Samba which should have support for
restricting the file namespace to the WIN32 or DOS one.

Thank you for the report, the question will be added to the ntfs-3g support
page.

Best regards,
                Szaka


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to