This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fopen a special characterfile on vfat.


On Tue, Apr 17, 2012 at 10:20 AM, Thomas Schwinge
<thomas@codesourcery.com> wrote:
> 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.
>
Hi Thomas,
   You are correct. so there is no way to open files with special
chars in vfat? but with ext2 there are no such kind of restrictions.
>
> Grüße,
> ?Thomas
Thanks,
dev.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]