>>>>> On Mon, 30 Apr 2012, Mike Frysinger wrote: > On Monday 30 April 2012 02:34:18 Ulrich Mueller wrote: >> >>>>> On Sun, 29 Apr 2012, Mike Frysinger 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). Ulrich