mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 22:25:19 +07:00
Revert "Revert "fsck: add new -l switch to fsck mount options""
This reverts commit c8bc83f5ea
.
As Karel pointed out the -l switch doesn't actualy conflict with
per-filesystem options, since those can be seperated by -- in the
command line. Since -l is here to stay we hence enable it again for now.
This commit is contained in:
parent
8e486ef03b
commit
e9ecea8805
@ -142,7 +142,7 @@ static void test_files(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
const char *cmdline[7];
|
const char *cmdline[8];
|
||||||
int i = 0, r = EXIT_FAILURE, q;
|
int i = 0, r = EXIT_FAILURE, q;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
siginfo_t status;
|
siginfo_t status;
|
||||||
@ -213,6 +213,7 @@ int main(int argc, char *argv[]) {
|
|||||||
cmdline[i++] = "/sbin/fsck";
|
cmdline[i++] = "/sbin/fsck";
|
||||||
cmdline[i++] = "-a";
|
cmdline[i++] = "-a";
|
||||||
cmdline[i++] = "-T";
|
cmdline[i++] = "-T";
|
||||||
|
cmdline[i++] = "-l";
|
||||||
|
|
||||||
if (!root_directory)
|
if (!root_directory)
|
||||||
cmdline[i++] = "-M";
|
cmdline[i++] = "-M";
|
||||||
|
Loading…
Reference in New Issue
Block a user