[oe-issues] [Bug 3065] New: busybox 1.2.1's e2fsck cannot check ro-mounted fs

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Mon Sep 24 23:14:12 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3065

           Summary: busybox 1.2.1's e2fsck cannot check ro-mounted fs
           Product: Openembedded
           Version: Angstrom
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: pmiscml at gmail.com


Regardless a filesystem being mounted rw or ro, e2fsck outputs:

root at hx4700:~$ fsck.ext2 -a /dev/mmcblk0p1 
/dev/mmcblk0p1 is mounted.  

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? 


And waits interactive input from user. This prompt cannot be overriden. The
only way to do something about it is to redirect stdin from /dev/null, in which
case it will just abort:

root at hx4700:~$ fsck.ext2 -a /dev/mmcblk0p1 </dev/null
/dev/mmcblk0p1 is mounted.  fsck.ext2: Cannot continue, aborting.


This issue is the cause of infamous issue with h2200 boot. In the meantime, I
work it around with stdin redirection, so it at least doesn't hang, but the
main issue remains: root fsck during is not supported in Angstrom.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list