In Bezug auf den Abschnitt "manuelle Prüfung":
Ich habe folgende Befehle ausgeführt:
sudo touch /forcefsck
sudo sh -c 'echo -c > /fsckoptions'
Ich konnte allerdings keine Unterschiede zu der Variante ohne die -c
-Option feststellen.
Die boot.log-Datei:
fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
UbuntuBoot: 227/32512 Dateien (4.4% nicht zusammenhängend), 68490/130048 Blöcke
Ubuntu: 204979/655360 Dateien (1.1% nicht zusammenhängend), 1091729/2621184 Blöcke
UbuntuHome: 19845/3276800 Dateien (2.3% nicht zusammenhängend), 7710374/13107200 Blöcke
init: ureadahead-other main process (901) terminated with status 4
* Starting AppArmor profiles [160G
Dateien in /etc/init/ bzw. /etc/init.d/, die fsck
enthalten:
$ grep -il fsck /etc/init{,.d}/*
/etc/init/mountall.conf
Auszug aus /etc/init/mountall.conf:
script
. /etc/default/rcS
[ -f /forcefsck ] && force_fsck="--force-fsck"
[ "$FSCKFIX" = "yes" ] && fsck_fix="--fsck-fix"
# set $LANG so that messages appearing in plymouth are translated
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE LC_MESSAGES LC_ALL
fi
exec mountall --daemon $force_fsck $fsck_fix
end script
post-stop script
rm -f /forcefsck 2>dev/null || true
end script
Nur /forcefsck, aber nicht /fsckoptions. (Die Variable $FSCKFIX
kann in /etc/default/rcS eingestellt werden.)
Soll /fsckoptions überhaupt ausgewertet werden? Hat irgendwer einen Link zu einer Ubuntu-/Debian-spezifischen Seite hierzu? Vielleicht ist /fsckoptions Red Hat-spezifisch.
Bei einer kurzen Suche fand ich z.B. das hier (bezieht sich auf Red Hat, allerdings auch schon "etwas" älter): http://linuxgazette.net/issue36/lg_tips36.html#dahlgren
Google-Suche auf debian.org nach "fsckoptions": sieht nicht so aus, als wäre /fsckoptions nutzbar