Messages in this thread | | | Subject | Re: udev depends on /usr | From | Martin Schlemmer <> | Date | Tue, 03 Feb 2004 06:10:26 +0200 |
| |
On Tue, 2004-02-03 at 00:44, Greg KH wrote: > On Mon, Feb 02, 2004 at 11:32:21PM +0100, J.A. Magallon wrote: > > > > On 2004.01.26, Greg KH wrote: > > > I've released the 015 version of udev. It can be found at: > > > kernel.org/pub/linux/utils/kernel/hotplug/udev-015.tar.gz > > > > > > > Little problem ;) > > I have some modules in /etc/modprobe.preload. Subject of this mail is > > ide-cd. > > > > When ide-cd gets loaded, the kernel/udev chain calls > > /etc/udev/scripts/ide-devfs.sh, wich uses 'expr'. I my system > > (Mandrake 10) and on a RedHat 9 'expr' lives in /usr/bin, and /usr can > > be still unmounted when rc.modules is called... > > > > Solution ? Change udev, change coreutils locations... >
Maybe try to change:
HOST=`expr ${HOST} - 1`
to
Host=$((HOST - 1))
? It should be sh compatible, but having used bash too long, I am not sure 8) (although sh -c 'foo=2; echo $((foo + 1))' work with bash in sh mode ..)
Cheers,
-- Martin Schlemmer [unhandled content-type:application/pgp-signature] | |