lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: udev depends on /usr
From
Date
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]
\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.053 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site