fopen a special characterfile on vfat.

Thomas Schwinge thomas@codesourcery.com
Tue Apr 17 14:21:00 GMT 2012


Hi!

On Tue, 17 Apr 2012 09:32:34 -0400, "devendra.aaru" <devendra.aaru@gmail.com> wrote:
> i am facing a strange situation where fopen fails on a vfat file
> system , the same works for the ext2 file system.
> 
> the file name is 0x1212_0x2121_2001-2-2T4:3:2Z
> 
> did i missed anything?
> 
> i have done fopen(filename, "w");
> it says invalid argument at perror.

Without checking any further, I'm quite sure that VFAT does not allow
colons in file names, which probably is what the kernel is telling you.


Grüße,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20120417/184ac822/attachment.sig>


More information about the Libc-help mailing list