* fdisk_reset_alignment().
*
* The default is number of sectors on the device, but maybe modified by the
- * current disklabel driver (for example GPT uses and of disk for backup
+ * current disklabel driver (for example GPT uses the end of disk for backup
* header, so last_lba is smaller than total number of sectors).
*
* Returns: 0 on success, <0 on error.
* fdisk_unref_context() only.
*
* Anyway, all label drives share in-memory first sector. The function
- * fdisk_create_disklabel() overwrites the sector. But it's possible that
- * label driver also uses another buffers, for example GPT uses more than only
- * the first sector.
+ * fdisk_create_disklabel() overwrites thi in-memory sector. But it's possible that
+ * label driver also uses another buffers, for example GPT reads more sectors
+ * from the device.
*
* All label operations are in-memory only, except fdisk_write_disklabel().
*
*
* Locate disklabel and returns info about @n item of the label. For example
* GPT is composed from two items, PMBR and GPT, n=0 return offset to PMBR and n=1
- * return offset to GPT. For more details see 'D' expect fdisk command.
+ * return offset to GPT. For more details see 'D' expert fdisk command.
*
* Returns: 0 on succes, <0 on error, 1 no more items.
*/
* @name: header name
* @data: header data (or NULL)
*
- * The headers are used as global options (in script) for whole partition
+ * The headers are used as global options for whole partition
* table, always one header per line.
*
- * If no @data specified then the header is removed. If header does not exist
- * and @data specified then a new header added.
+ * If no @data is specified then the header is removed. If header does not exist
+ * and @data is specified then a new header is added.
*
* Note that libfdisk allows to specify arbitrary custom header, the default
* build-in headers are "unit" and "label", and some label specific headers