[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No fsck in battery mode



Cristian Ionescu-Idbohrn wrote:
On Mon, 1 Sep 2003, Derek Broughton wrote:


From: "Frédéric Bothamy" <fbothamy@mail.dotcom.fr>

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?


Sure:

$ ldd /usr/bin/on_ac_power
        not a dynamic executable


That is the response ldd usually gives for a shell script. You need to do 'ldd' for every executable called by the script, and the interpreter (the shell) to determine which libraries the script depends on.

-- jason kraftcheck



Reply to: