return (size_t) le32_to_cpu(gpt->pheader->npartition_entries);
}
-/* calculate size of entries array in bytes for specified nuber of entries */
+/* calculate size of entries array in bytes for specified number of entries */
static inline int gpt_calculate_sizeof_entries(
struct gpt_header *hdr,
uint32_t nents, size_t *sz)
return 0;
}
-/* calculate size of entries array in sectors for specified nuber of entries */
+/* calculate size of entries array in sectors for specified number of entries */
static inline int gpt_calculate_sectorsof_entries(
struct gpt_header *hdr,
uint32_t nents, uint64_t *sz,
assert(cxt->label);
assert(fdisk_is_label(cxt, GPT));
- DBG(GPT, ul_debug("writting..."));
+ DBG(GPT, ul_debug("writing..."));
gpt = self_label(cxt);
mbr_type = valid_pmbr(cxt);
* @disable: 0 or 1
*
* Disable automatic backup header relocation to the end of the device. The
- * header possition is recalculated during libfdisk probing stage by
+ * header position is recalculated during libfdisk probing stage by
* fdisk_assign_device() and later written by fdisk_write_disklabel(), so you
* need to call it before fdisk_assign_device().
*
* @enable: 0 or 1
*
* Force libfdisk to write backup header to behind last partition. The
- * header possition is recalculated on fdisk_write_disklabel().
+ * header position is recalculated on fdisk_write_disklabel().
*
* Since: 2.36
*/
* - MNT_OMODE_AUTO is used if nothing else is defined
* - the flags are evaluated in this order: MNT_OMODE_NOTAB, MNT_OMODE_FORCE,
* MNT_OMODE_FSTAB, MNT_OMODE_MTAB and then the mount options from fstab/mtab
- * are set according to MNT_OMODE_{IGNORE,APPEND,PREPAND,REPLACE}
+ * are set according to MNT_OMODE_{IGNORE,APPEND,PREPEND,REPLACE}
*
* Returns: 0 on success, negative number in case of error.
*/
if (!*tgt)
return 1; /* empty string is not an error */
- /* In future this function should be extened to support for example
+ /* In future this function should be extended to support for example
* fsinfo() (or another cheap way kernel will support), for now the
* default is expensive mountinfo/mtab.
*/
* mnt_context_apply_fstab(), use mnt_context_tab_applied()
* to check result.
*
- * The goal is to mimimize situations wehn we need to parse
+ * The goal is to minimize situations when we need to parse
* /proc/self/mountinfo.
*/
static int lookup_umount_fs(struct libmnt_context *cxt)
}
}
- /* remove refernece (or deallocate on error) */
+ /* remove reference (or deallocate on error) */
mnt_unref_fs(fs);
/* recoverable error */
struct timeval lasttime; /* last printed timestamp */
struct tm lasttm; /* last localtime */
struct timeval boot_time; /* system boot time */
- time_t suspended_time; /* time spent in suspeneded state */
+ time_t suspended_time; /* time spent in suspended state */
int action; /* SYSLOG_ACTION_* */
int method; /* DMESG_METHOD_* */
flag.
.PP
What options are supported depends a bit on the running kernel.
-Further information may be available in fileystem-specific
+Further information may be available in filesystem-specific
files in the kernel source subdirectory
.IR Documentation/filesystems .
.\"
.BR lsblk (1),
.BR mount (2),
.BR umount (2),
-.BR fileystems (5),
+.BR filesystems (5),
.BR fstab (5),
.BR nfs (5),
.BR xfs (5),