diff options
-rw-r--r-- | init | 2 | ||||
-rw-r--r-- | init_functions | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -64,7 +64,7 @@ fi rootdev=$(resolve_device "$root") && root=$rootdev unset rootdev -[ -z "$skipfsck" ] && fsck_root +fsck_root # Mount root at /new_root ${mount_handler:-default_mount_handler} /new_root diff --git a/init_functions b/init_functions index 4945136..e9a0cb9 100644 --- a/init_functions +++ b/init_functions @@ -96,6 +96,11 @@ fsck_device() { return 255 fi + if [ -n "$fastboot" ]; then + msg ":: skipping fsck on '$1'" + return + fi + msg ":: performing fsck on '$1'" FSTAB_FILE=/dev/null fsck -Ta -C"$FSCK_FD" "$1" -- $FORCEFSCK } |