>>>>> On Mon, 30 Apr 2012, Mike Frysinger wrote: > On Monday 30 April 2012 12:14:19 Ulrich Mueller wrote: >> >> > i've added a new USE=sep-usr flag to busybox. when enabled, this >> >> > will install a static busybox at /ginit (and have the other busybox >> >> > paths symlink to that so there's no overhead). this new applet has a >> >> > hand written set of commands to automatically mount /dev /proc /sys >> >> > /usr and seed /dev, and then execute the real init (defaulting to >> >> > /sbin/init). >> >> >> >> Shouldn't it fsck the /usr partition before mounting it? I don't see >> >> that in ginit.c. >> > >> > it mounts it read-only. fsck-ing is left to the normal init scripts. >> >> Which doesn't work, at least not for ext{2,3,4}. e2fsck contains >> special handling for the root fs, but it refuses to repair any other >> mounted file system (even if mounted read-only).
> i believe there's a bug open on the topic. it's not something i > think belongs in the pre-/usr code. Hm, bug 410605. I agree that the most systematic approach would be to fix fsck.*. It should treat other read-only filesystems the same way it treats the root fs. Ulrich