X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/7b78a5a287827db9e9b16286f3604aef69b37c5c..refs/tags/fatfs-0.12b:/fatfs/doc/en/fdisk.html?ds=sidebyside diff --git a/fatfs/doc/en/fdisk.html b/fatfs/doc/en/fdisk.html index ad4e4fd..6581d87 100644 --- a/fatfs/doc/en/fdisk.html +++ b/fatfs/doc/en/fdisk.html @@ -16,9 +16,9 @@
The f_fdisk fucntion divides a physical drive.
FRESULT f_fdisk ( - BYTE pdrv, /* [IN] Physical drive number */ - const DWORD part[], /* [IN] Partition size */ - void* work /* [IN] Work area */ + BYTE pdrv, /* [IN] Physical drive number */ + const DWORD* szt, /* [IN] Partition map table */ + void* work /* [IN] Work area */ );@@ -27,9 +27,9 @@ FRESULT f_fdisk (
The f_fdisk() function creates a partition table into the MBR of the physical drive. The partitioning rule is in generic FDISK format, so that it can create upto four primary partitions. Logical volumes in the extended partition is not supported. The part[] with four items specifies how to divide the physical drive. The first item specifies the size of first primary partition and fourth item specifies the fourth primary partition. If the value is less than or equal to 100, it specifies percentage of the partition in the entire disk space. If it is larger than 100, it specifies the partition size in unit of sector.
+The f_fdisk function creates partitions on the physical drive. The partitioning format is in generic FDISK format, so that it can create upto four primary partitions. Logical volumes in the extended partition is not supported. The partition map table with four items specifies how to divide the physical drive. The first item specifies the size of first primary partition and fourth item specifies the fourth primary partition. If the value is less than or equal to 100, it specifies the partition size in percentage of the entire drive space. If it is larger than 100, it specifies the partition size in unit of sector. The partitions are located on the drive in order of from first item.