Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's with the Pack command?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00269678
Message ID:
00270204
Vues:
34
>>Wow... 512K is a HUGE cluster size. Are you sure that's right? Most networks I've worked with (NT or Novell) use cluster sizes ranging from 512 bytes to 16K bytes.
>
>Hi Al,
>
>I know it's huge (I'm not the NetAdmin person, either). I know it's right, however. I checked using the Win32 API call GetDiskFreeSpace(). It returns (among other things), the sectors per cluster and the bytes per sector. The return value I got for our local server was 512K (sectors per cluster * bytes per sector) / 1024.

Hmmm, a cluster size that large would waste immense amounts of disk space - except in 1 circumstance, that being if the server in question has OS-level disk compression turned on.

Is your local server Novell, by any chance? If so, are you certain that a Win32API call will give you the correct values for its file system? My guess is it would return some value(s) but they would not necessarily be correct.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform