Declan Moriarty wrote these words on 04/15/05 14:04 CST:
> Each boot I lose the /var/lock/subsys directory that hotplug wants to
> use. That's the issue.
> [snip]
> Either I have to alter the cleanfs line that says 'rm -rf /var/run/*
> /var/lock/*' or else the hotplug line that says 'touch
> /var/log/subsys/hotplug'. I don't know the implications of doing
> either. I imagine the hotplug one is linked into several scripts
I thought the clean scripts did something like the following. And
if I'm mistaken, and they are not, then just do something similar
to this:
for FILENAME in `ls /var/lock`
do
if [ ! -d $FILENAME ]; then rm; fi
done
or you also change the code to something like this:
find /var/lock -type f -exec rm {} \;
Wouldn't this solve your issue?
--
Randy
rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
14:11:00 up 13 days, 13:44, 3 users, load average: 0.00, 0.00, 0.00
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page