Re: fat32 i wielkosc pliku

Autor: Wiktor S. <wswiktorSP_at_Mpoczta.fm>
Data: Wed 02 Aug 2006 - 23:27:09 MET DST
Message-ID: <ear5bc$ja$1@news.onet.pl>
Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response

>> A nie 2? Co prawda dawno się już z FAT-em pożegnałem, ale cóś mi się
>> tak kołacze.

> Teoretycznie 4 GiB, w praktyce 2 GiB (bo większość programów
> "rozumie" 32-bitowe rozmiary ze znakiem jedynie).

Cytat ze specyfikacji Microsoftu:

| The maximum allowed file size on a FAT volume
| is 0xFFFFFFFF (4,294,967,295) bytes.

a programy? cytat drugi:

| As is noted numerous times earlier, the world is full
| of FAT code that is wrong.

:-)

Zresztą cały tekst jest dość luzackim językiem napisany, zupełnie nie jak
inne sztywne dokumenty Microsoftu... rozbawiło mnie np. zapewnianie, że w
przykładzie nie ma błędu:

| In the following example, when it says <, it does not mean <=.
| Note also that the numbers are correct. The first number for
| FAT12 is 4085; the second number for FAT16 is 65525.
| These numbers and the '<' signs are not wrong.
|
| If(CountofClusters < 4085) {
| /* Volume is FAT12 */
| } else if(CountofClusters < 65525) {
| /* Volume is FAT16 */
| } else {
| /* Volume is FAT32 */
| }
|
| This is the one and only way that FAT type is determined.

-- 
Azarien
Received on Wed Aug 2 23:30:05 2006

To archiwum zostało wygenerowane przez hypermail 2.1.8 : Wed 02 Aug 2006 - 23:51:03 MET DST