Hi all,

+       can_use_logsave=true
+       test -e "$FSCK_LOGFILE" || if test -d "$(dirname "$FSCK_LOGFILE")"; then
+               can_use_logsave=false
+       fi

If I understand it correctly, this will not attempt to save the logfile if the logfile, or the directory that will contain the logfile does not exist. If /var is on a different partition that is not yet mounted, there is no way to check for the existence of the /var/log/fsck directory.

--
Best regards,
Zsolt

Reply via email to