On Fri, 03 Jun 2005 19:20:48, Nicolas George wrote:
> Package: initscripts
> Version: 2.86.ds1-1
> Severity: wishlist
> 
> Sometimes, the unmounting or remounting read-only of some filesystems fails
> for some reason ("is busy", for example), causing a fsck on the next boot.

That should not happen, in fact cannot happen on an unmodified system.
Or it would be a bug.

> In that case, one may wish to get a basic root shell to correct the problem.
> 
> Suggested addition: at the end of umountfs, something like that:
> 
> if [ "x$ROOT_SHELL_IF_UMOUNT_FAILS" = xyes ]; then
>   if grep -qE '^/dev/(root|hd|sd|discs|ide|scsi)[^ ]* [^ ]*.*\<rw\>' 
> /proc/mounts
>     echo "Some filesystems still mounted rw. Please fix and exit."
>     sh
>   fi
> fi

I'm not going to implement this. It adds complexity for no gain.

Mike.


Reply via email to