FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Thu May 13, 2021 21:25



Post new topic Reply to topic  [ 6 posts ] 
Reserved characters in filenames 
Author Message

Joined: Thu Mar 18, 2010 14:27
Posts: 1
Post Reserved characters in filenames
Hi there,

I'm using ntfs-3g on Ubuntu 9.04.
The Filesystem allow me to create files using the following characters:
? : "

Filename Examples:
HoAmI?.avi
"Hello".mp3
Ntfs-3g:VeryGood.mkv

However, when I use this filesystem partition on Windows 7, CheckDisk says that characters are invalids in file names and delete the files.

Is that a bug???
Thanks in advance


Thu Mar 18, 2010 15:12
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Bug Report????
Hi,

Quote:
I'm using ntfs-3g on Ubuntu 9.04.
The Filesystem allow me to create files using the following characters:
? : "

And any character except '\0' and '/', thus conforming to the Posix standard.

Quote:
However, when I use this filesystem partition on Windows 7, CheckDisk says that characters are invalids in file names and delete the files.

This is also true for a few other characters such as * ? < > because Windows 7 conforms to the Microsoft standard.

Quote:
Is that a bug???

Where would the bug be ? in your example there is no violation of the claimed standard.

Regards

Jean-Pierre


Thu Mar 18, 2010 22:28
Profile

Joined: Sun Mar 07, 2010 22:37
Posts: 2
Post Re: Bug Report????
Technically this is not a bug.
But NTFS is the Microsoft's file system, and is used by every Windows computer out there. For compatibility reasons, it would be better for ntfs-3g to conform to both - Posix and Microsoft - standards.
This can be made a default behavior with a mount option to override if someone needs it.


Fri Mar 19, 2010 18:51
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Reserved characters
Actually this looks to be a bug in Windows 7 CHKDSK. It shouldn't remove files in the POSIX filename space.

It would be interesting to check what happens with such files created by CYGWIN. Are they also removed?

Files which such characters in the filename are perfectly legal in the POSIX filename space and others are creating them too, not only NTFS-3G.

Regards, Szaka


Sun Mar 21, 2010 04:48
Profile

Joined: Mon Nov 30, 2009 21:35
Posts: 38
Post Re: Reserved characters in filenames
abgrj, NTFS-3G allows colon ':' in file names, what is a violation of DOS rules. This is used for a specific support of junction paths.
A such a directory (C:) cannot be chdir'ed in native NT environment, but it seems not to be a problem for chkdsk.


Fri Apr 16, 2010 12:20
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Reserved characters in filenames
CHKDSK allows colon because it's not a violation of the NTFS specification. Explanation is here: http://www.tuxera.com/community/ntfs-3g ... filenames2


Fri Apr 16, 2010 22:23
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.