Re: No fsck in battery mode
- To: email@example.com
- Subject: Re: No fsck in battery mode
- From: Derek Broughton <firstname.lastname@example.org>
- Date: Tue, 02 Sep 2003 12:06:42 -0300
- Message-id: <email@example.com>
- References: <firstname.lastname@example.org> <20030901172158.GD6848@zenith> <email@example.com> <20030901182931.GE6848@zenith> <20030901192517.GH393@athena.olympe.fr> <firstname.lastname@example.org> <0309012356400.139840744@somehost>
From: "Cristian Ionescu-Idbohrn" <email@example.com>
> On Mon, 1 Sep 2003, Derek Broughton wrote:
> > From: "Frédéric Bothamy" <firstname.lastname@example.org>
> > > 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.