lkml.org 
[lkml]   [2003]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.0-test4-mm3
From
Date
On Fri, 2003-08-29 at 18:27, Cliff White wrote:

Hi

> This also breaks STP. We installed module-init-tools using the 'moveold'
> method,
> so we can still run 2.4.
> Our depmod is in /usr/local/sbin.
> Using /sbin/depmod hoses us. Using PATH works for us.
>
> [root@stp1-002 linux]# depmod -V
> module-init-tools 0.9.12
>
> [root@stp1-002 linux]# /sbin/depmod -V
> depmod version 2.4.22
>
> [root@stp1-002 linux]# /usr/local/sbin/depmod -V
> module-init-tools 0.9.12
>

You guys are sorda missing the point of 'moveold' ....
You want to build it with '--prefix=/' so that
both depmod and depmod.old are in /sbin ....

----------------------
workshop root # ls /sbin/depmod* -l
-rwxr-xr-x 1 root root 58744 Aug 4 17:19 /sbin/depmod
-rwxr-xr-x 1 root root 58712 Aug 4 13:57 /sbin/depmod.old
workshop root # ls /sbin/modprobe* -l
lrwxrwxrwx 1 root root 6 Aug 4 17:19 /sbin/modprobe
-> insmod
lrwxrwxrwx 1 root root 10 Aug 4 13:57
/sbin/modprobe.old -> insmod.old
lrwxrwxrwx 1 root root 13 Aug 4 17:19
/sbin/modprobe.static -> insmod.static
workshop root #
------------------

Any call will then thus run depmod/whatever from module-init-tools
first, and if the kernel is 2.4, etc, it will call
depmod.old/whatever ...


Regards,

--
Martin Schlemmer


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.054 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site