fsck after crash not active in fc5 dev?

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Dec 29 06:52:56 UTC 2005


Any answers/comments on this?
I was not able to find any entry in bugzilla...
Can you confirm it was not intentional?
Gianluca

2005/12/24, Gianluca Cecchi <gianluca.cecchi at gmail.com>:
>
> Hello,
> I noticed after a crash (due to loss of electricity) that file systems was
> not asked to be fscked
> after reboot. The file /.autofsck  is created at boot, as before, but
> comparing rh el 4 with fc5 it seemes that inside rc.sysinit the piece
> below is missing, so that
> the system does not prompt if one wants to force fsck and one has to
> manually create /forcefsck and reboot in this case
> (or probably is there a boot flag to tell to force fsck? I don't know
> this).
>
>         if [ "$PROMPT" != "no" ]; then
>                 if [ "$AUTOFSCK_DEF_CHECK" = "yes" ]; then
>                         if /sbin/getkey -c $AUTOFSCK_TIMEOUT -m $"Press N
> within %d seconds to not force file system integrity check..." n ; then
>                                 AUTOFSCK_OPT=
>                         fi
>                 else
>                         if /sbin/getkey -c $AUTOFSCK_TIMEOUT -m $"Press Y
> within %d seconds to force file system integrity check..." y ; then
>                                 AUTOFSCK_OPT=-f
>                         fi
>                 fi
>                 echo
>         else
>                 # PROMPT not allowed
>                 if [ "$AUTOFSCK_DEF_CHECK" = "yes" ]; then
>                         echo $"Forcing file system integrity check due to
> default setting"
>                 else
>                         echo $"Not forcing file system integrity check due
> to default setting"
>                 fi
>         fi
> I'm testing fedora right now and don't know previous versions, so this
> could also be standard policy for fedora. Sorry in this case.
> Is this ok, due to devel os or did it disappear uncorrectly?
> I would like to have this chance also for devel/test systems.
> Just my opinion.
> Thanks for reading.
> Gianluca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20051229/e8cc9c9d/attachment-0002.html 


More information about the devel mailing list