Re: No fsck in battery mode
- To: firstname.lastname@example.org
- Subject: Re: No fsck in battery mode
- From: Derek Broughton <email@example.com>
- Date: Tue, 02 Sep 2003 12:06:42 -0300
- Message-id: <firstname.lastname@example.org>
- References: <email@example.com> <20030901172158.GD6848@zenith> <firstname.lastname@example.org> <20030901182931.GE6848@zenith> <20030901192517.GH393@athena.olympe.fr> <email@example.com> <0309012356400.139840744@somehost>
From: "Cristian Ionescu-Idbohrn" <firstname.lastname@example.org>
> On Mon, 1 Sep 2003, Derek Broughton wrote:
> > From: "Frédéric Bothamy" <email@example.com>
> > > Except that since it is under /usr, it might not be available at fsck
> > > time (that is, before /usr is mounted in /etc/rcS.d/S30checkfs.sh).
> > Doh! Of course you're right. I wonder if it could be copied to /boot
> > and still work?
> $ ldd /usr/bin/on_ac_power
> not a dynamic executable
That's what I expected, but hadn't checked yet.
> > Matt's solution is good - but it must have the same problem:
> > grep will be available at the same time as on_ac_power!
> $ which grep
> Did you set up with / and /boot on separate partitions?
You betcha :-) But it's a non-generic situation, anyway. During
S10checkroot.sh, / is available - but there's no telling how your system is
partitioned. In my case, /usr (and /usr/bin) are on /. Obviously, in other
cases /usr isn't.