Would it be possible to add this as some kind of option to systemd-fsck?

In my case there was a situation where ext3 would not mount because of a timestamp issue that would not be fixed with "-a".

Thanks.

-Bryan
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index 058f34d..b1938c7 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -321,9 +321,10 @@ int main(int argc, char *argv[]) {
                 }
 
         cmdline[i++] = "/sbin/fsck";
-        cmdline[i++] = "-a";
+//        cmdline[i++] = "-a";
         cmdline[i++] = "-T";
         cmdline[i++] = "-l";
+        cmdline[i++] = "-y";
 
         if (!root_directory)
                 cmdline[i++] = "-M";
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to