*
* @PART_ENTRY_UUID: partition UUID (gpt, or pseudo IDs for MBR)
*
- * @PART_ENTRY_TYPE: partition type, 0xNN (e.g 0x82) or type UUID (gpt only) or type string (mac)
+ * @PART_ENTRY_TYPE: partition type, 0xNN (e.g. 0x82) or type UUID (gpt only) or type string (mac)
*
* @PART_ENTRY_FLAGS: partition flags (e.g. boot_ind) or attributes (e.g. gpt attributes)
*
unsigned long long flags; /* partition flags / attributes */
int partno; /* partition number */
- char uuid[UUID_STR_LEN]; /* UUID (when supported by PT), e.g GPT */
+ char uuid[UUID_STR_LEN]; /* UUID (when supported by PT), e.g. GPT */
unsigned char name[128]; /* Partition in UTF8 name (when supported by PT), e.g. Mac */
blkid_parttable tab; /* partition table */
* blkid_partlist_get_table:
* @ls: partitions list
*
- * Returns: top-level partition table or NULL of there is not a partition table
+ * Returns: top-level partition table or NULL if there is not a partition table
* on the device.
*/
blkid_parttable blkid_partlist_get_table(blkid_partlist ls)
* @par: partition
*
* Returns: proposed partition number (e.g. 'N' from sda'N') or -1 in case of
- * error. Note that the number is generate by library independently on your OS.
+ * error. Note that the number is generated by library independently of your OS.
*/
int blkid_partition_get_partno(blkid_partition par)
{
* @par: partition
*
* WARNING: be very careful when you work with MS-DOS extended partitions. The
- * library always returns full size of the partition. If you want add
- * the partition to the Linux system (BLKPG_ADD_PARTITION ioctl) you
- * need to reduce the size of the partition to 1 or 2 blocks. The
+ * library always returns full size of the partition. If you want to
+ * add the partition to the Linux system (BLKPG_ADD_PARTITION ioctl)
+ * you need to reduce the size of the partition to 1 or 2 blocks. The
* rest of the partition has to be inaccessible for mkfs or mkswap
* programs, we need a small space for boot loaders only.
*
return 0;
}
-/* Sets partition 'type' for PT where the type is defined by UUIDrather
+/* Sets partition 'type' for PT where the type is defined by UUID rather
* than by number
*/
int blkid_partition_set_type_uuid(blkid_partition par, const unsigned char *uuid)
* blkid_partition_get_type_string:
* @par: partition
*
- * The type string is supported by a small subset of partition tables (e.g Mac
+ * The type string is supported by a small subset of partition tables (e.g. Mac
* and EFI GPT). Note that GPT uses type UUID and this function returns this
* UUID as string.
*