Re: [OT] files/dir on windoze

new topic     » goto parent     » topic index » view thread      » older message » newer message

Elliott Sales de Andrade wrote:

>> From: Juergen Luethje
>> Date: Sun, 11 Jul 2004 20:41:31 +0200
>>
>>> Does this happen with all versions of Windows, or just some?
>>
>> Kat wrote she was using Win 95B, I was using Win 98 (partition with
>> FAT 32, 7.58 GB total, 5.14 GB free, 4096 bytes per cluster). Elliot,
>> on what Windows version did you run your test?
>>
>
>    Windows XP Pro, but still FAT32, not NTFS. This obviously seems to be the
> problem.

Two of my programs split Unix mailbox files into separate e-mail files.
All e-mail files that originate from the same mailbox file are written
to one directory.

One user wrote, that he has got mailbox files with a size up to about
100 MB, containing about 28,000 messages. My programs build the file
names after the subject of the respective mail. He didn't report a
problem (maybe he uses NTFS), but I'm just calculating:

- If any file name has 8+3 (+ the dot = 12) characters, they will occupy
  28000 * (1 + ceil(12/13)) = 28000*2 = 56000 entries in the regarding
  directory. This is OK.
- If any file name has say 14 characters, all file names would occupy
  28000*3 = 84000 entries. This is not possible on a FAT system, as we
  know now.

Do you, or someone else, know a method, how  an Euphoria program can
detect, what file system a given drive uses?

Regards,
   Juergen

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu