Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

1000 file limit in WM 5 ?

0 views
Skip to first unread message

Flaming Homer

unread,
Mar 8, 2007, 4:12:06 PM3/8/07
to
Wrote a small application that just created a 16-byte file in a WM 5.0
directory (say, \temp). It always dies on file #1001, with a error 122
(DISK IS FULL).

Is this normal ?


Flaming Homer

unread,
Mar 8, 2007, 4:42:48 PM3/8/07
to
Sorry, error is 112

Same error on:

MIO
Symbol MC70
Symbol MC9094
WM5 Emulator

Didn't make a diffference if I wrote to flash (\temp) or SD (\storage card)

"Flaming Homer" <me...@privacy.net> wrote in message
news:e2p8UbcY...@TK2MSFTNGP03.phx.gbl...

Hui Chen (MSFT)

unread,
Mar 8, 2007, 5:50:47 PM3/8/07
to
Is that your files have long names with same prefix? The file system might
run out of unique 8.3 names.

--
Hui Chen [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


"Flaming Homer" <me...@privacy.net> wrote in message

news:e5GWkrc...@TK2MSFTNGP04.phx.gbl...

<ctacke/>

unread,
Mar 8, 2007, 6:18:57 PM3/8/07
to
I believe it's a FAT limitation. Try writing in a subfolder of the volume,
not the root, so \Storage Card\Data or \Temp\Data


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Flaming Homer" <me...@privacy.net> wrote in message

news:e5GWkrc...@TK2MSFTNGP04.phx.gbl...

Flaming Homer

unread,
Mar 9, 2007, 9:13:24 AM3/9/07
to
Actually, I did write them to a subfolder of the volume, such as
\test\testfile with same result.

To the other poster asking if I ran out of names, I don't think so.
Originally this problem showed up on an application that wrote filenames
derived from GUIDs

I would post my test program to demostrate this issue, but I'm really green
@ MFC and am embarrased to show my effort.

Same test program runs with flying colours on a PPC2003 (Symbol 9063) -
once compiled with eVc 4.0 - without any issues past 1000...


"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:%23vPYjgd...@TK2MSFTNGP03.phx.gbl...

<ctacke/>

unread,
Mar 9, 2007, 9:40:43 AM3/9/07
to
Ah, MFC....all I can say is open the airlock and jettison that garbage.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

"Flaming Homer" <me...@privacy.net> wrote in message

news:uCsBKVlY...@TK2MSFTNGP03.phx.gbl...

Flaming Homer

unread,
Mar 9, 2007, 11:32:25 AM3/9/07
to
Well, somewhat of a solution.

I now create the files with a ".txt" extension (used to be without
extension), it lets me have more than 1000 files.

I speculate that for files w/o extension WM5 (and WM6 emulator for that
matter) allocates a hidden extension for you, say, .000 all the way to .999,
and when that's reached, you get a DISK_FULL

So lesson here is: Don't have more than 999 files in the same directory w/o
extension...


"Flaming Homer" <me...@privacy.net> wrote in message

news:uCsBKVlY...@TK2MSFTNGP03.phx.gbl...

0 new messages