bash completion
---------------
- Optional argument handling requires user to press backspace to get
- argument completetion.
+ argument completion.
- Comma separated value, e.g., --output 'value1,value2', are not
completed for users.
* the device with read-write mode and will fallback to read-only if
* unsuccessful.
*
- * Returns: 0 on sucess, < 0 on error.
+ * Returns: 0 on success, < 0 on error.
*/
int fdisk_context_assign_device(struct fdisk_context *cxt,
const char *fname, int readonly)
* @ask_cb: callback
* @data: callback data
*
- * Returns: 0 on sucess, < 0 on error.
+ * Returns: 0 on success, < 0 on error.
*/
int fdisk_context_set_ask(struct fdisk_context *cxt,
int (*ask_cb)(struct fdisk_context *, struct fdisk_ask *, void *),
/*
* Kernel supports only one MS_PROPAGATION flag change by one mount(2) syscall,
- * to bypass this restriction we call mount(2) per flag. It's realy not a perfect
+ * to bypass this restriction we call mount(2) per flag. It's really not a perfect
* solution, but it's the same like to execute multiple mount(8) commands.
*
* We use cxt->addmounts (additional mounts) list to keep order of the requested
type = mnt_fs_get_fstype(cxt->fs);
if (type) {
if (strchr(type, ','))
- /* this only happen if fstab countains list of filesystems */
+ /* this only happens if fstab contains list of filesystems */
res = do_mount_by_pattern(cxt, type);
else
res = do_mount(cxt, NULL);