Patent ID: 6233105
Filing Date: 2001-05-15
Classification: G06F,G11B,Y10S

Abstract:
A method for quickly formatting a disk, used in a formatting operation on a disk partition that has a boot record, a file allocation table (FAT) and a file directory, comprising the steps of:retrieving a disk parameter of the disk partition by a logic operation unit;generating a volume serial number of the disk partition;calculating disc properties block data (DPB) and determining whether the disk partition is a FAT 16 type or FAT 32 type,if the disk partition is a FAT 16 type, performing the following steps:getting the sector number for every cluster as fixed by the disk partition size,calculating the total sector number,calculating the number of FAT, andwriting the number of FAT and the disk volume serial number into a mapped allocation of the boot record by the logic operation unit;if the disk partition is a FAT 32 type, then performing the following steps:calculating the sector number of FAT,calculating the size of free space, andwriting the sector number of FAT and the disk volume serial number into the third boot record; andclearing the contents of the FAT and the file directory.