Age | Commit message (Collapse) | Author |
|
|
|
|
|
Fsck pass 0 if not in automatic mode.
Respect `noauto' option in automatic mode.
(fs_start_fsck):
When deciding to use a flags arg, mask flags against an explicit list of
valid ones.
(FSCK_F_AUTO): New macro.
(main): Set FSCK_F_AUTO flag if in automatic mode.
|
|
(FSCK_F_WRITABLE): New macro.
(struct fsck): Rename WAS_READONLY field to MAKE_WRITABLE.
(fscks_start_fsck): Change to set make_writable field instead of was_readonly.
(fsck_cleanup): Change RESTORE_WRITABLE to MAKE_WRITABLE.
(fscks_wait): Likewise.
|
|
|
|
(fs_set_mntent): Don't keep old fsys fields if the mnt_dir is changed.
(fstab_add_mntent): Initialize fields in FS with non-zero values.
(_fs_check_mounted): The root is always mounted.
|
|
|
|
|
|
If fsys_set_options returns EINVAL, return EOPNOTSUPP instead.
(fs_set_readonly): Use fsys_set_readonly.
(fs_remount): Use fsys_remount.
(fs_readonly): Use fsys_get_readonly.
(_fs_check_mounted): Use file_name_lookup_carefully.
|
|
(debug, fs_debug): New macros.
(fs_start_fsck, fscks_start_fsck, fsck_cleanup, fscks_wait, fsck, main):
Add debugging noise.
(main): Use FSTAB_PATH instead of _PATH_MNTTAB.
(args_doc): Fix.
|
|
|
|
|
|
(main): If reboot returns, give error message and return 1.
|
|
|
|
|
|
|
|
|
|
|
|
|