Strip incompatible characters from Windows partitions!

Szabolcs Szakacsits szaka at ntfs-3g.org
Sat May 17 01:20:11 UTC 2008


Andrew Sayers <andrew-ubuntu-devel <at> pileofstuff.org> writes:

> Since there wasn't an NTFS expert available during the conversation,

NTFS is pretty well known and documented, especially filename handling.
Windows also do allow the creation of such filenames but it's not so 
widely known how to do it. When most Windows applications try to read
such filenmes then they get just as confused as if the files were 
created on Linux (google for Windows SFU).

It's also documented at http://ntfs-3g.org/support.html#posixfilenames2

------------------------------------------------------------------>

Why does the driver allow special characters in the filenames?

    NTFS supports several filename namespaces at the same time: DOS, Win32 and
POSIX. While the NTFS-3G driver handles all of them, it always creates new files
in the POSIX namespace for maximum portability and interoperability reasons.
This means that filenames are case sensitive and all characters are allowed
except '/' and '\0'. This is perfectly legal on Windows, though some application
may get confused. If you find so then please report it to the developer of the
relevant Windows software.

    Workaround: If case insensitivity handling and/or restriction of special
character usage is desirable then you may export the NTFS volume via Samba which
supports this functionality the same way as it does for other POSIX file systems.

    Status: Not NTFS-3G problem.

<-----------------------------------------------------------------

Regards,  Szaka

NTFS-3G: http://ntfs-3g.org






More information about the Ubuntu-devel-discuss mailing list