Re: [OT] files/dir on windoze

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

Irv Mullins wrote:

> Kat wrote:
>
>> This all makes sense, except for one thing: i was topping out at a little
>> over
>> 14,000 files per directory. This happened 2 times, but not on *exactly* the
>> same number of files, crashing the two separate programs, at which point i
>> modified all the programs to sort to multiple directories, resulting in
>> 1000's of
>> directories, with 100's of files in each. All these files are on the small
>> side,
>> only 1000 bytes.
>
> Even a 1 byte file takes up quite a bit of space, but I don't think you
> were running out of disk space, just out of long file name tables
> (or whatever scheme is used to store LFN's).

I think my other post, where the function number_of_occupied_dir_entries()
is introduced, explains anything. smile

>> Win95B, LFN, 2nd 15gig partition on a 30gig drive, 10.5gig free, FAT32,
>> using exw40.exe (registered) (a few winapi calls, dos32 gui and file calls
>> otherwise).
>
> The options seem to be:
> 1. Use XP or NT
> 2. split up the files into different directories, that's probably a hassle.

I assume, also the number of possible subdirectories is limited
(depending on the length of their names).

> 3. find some way to use only 8.3 filenames

3a. Find some way to use as short filenames as possible (It's not just
    'short' vs. 'long'.)

> 4. Use Linux.

5. If possible, use a few big files instead of many small files.

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu