Re: The necessity of running depmod at boot time

2006-05-24 Thread Clifford Beshers
Joey Hess wrote: Marco d'Itri wrote: If we can agree that it's not needed anymore (i.e. mandate by policy that packages need to run depmod on their own) then I will be happy to remove it from the m-i-t init script. A while back Debian would only run depmod on boot if it

Re: The necessity of running depmod at boot time

2006-05-19 Thread Steinar H. Gunderson
On Thu, May 18, 2006 at 07:21:33PM -0300, Margarita Manterola wrote: > Continuing on the goal of optimizing boot time, quite a number of > seconds (specially in old machines) can be saved by not running depmod > at boot time. > > Currently it is run by these packages' postinst: Wouldn't it be a g

Re: The necessity of running depmod at boot time

2006-05-19 Thread Marco d'Itri
On May 19, Joey Hess <[EMAIL PROTECTED]> wrote: > Marco d'Itri wrote: > > I think because depmod --quick is supposed to be about as fast as find. > YM as fast as test -nt? Doesn't seem to be on a dry cache. No, I really meant as fast as find. Which other test do you suggest? -- ciao, Marco sig

Re: The necessity of running depmod at boot time

2006-05-18 Thread Joey Hess
Marco d'Itri wrote: > I think because depmod --quick is supposed to be about as fast as find. YM as fast as test -nt? Doesn't seem to be on a dry cache. -- see shy jo signature.asc Description: Digital signature

Re: The necessity of running depmod at boot time

2006-05-18 Thread Goswin von Brederlow
Jeroen van Wolffelaar <[EMAIL PROTECTED]> writes: > I think one of the issues here is that it depends on what kernel you > currently use, and iirc there can be a situation where one does not > want to run depmod at installation time, or when that might give wrong > results. That used to be the ca

Re: The necessity of running depmod at boot time

2006-05-18 Thread Marco d'Itri
On May 19, Joey Hess <[EMAIL PROTECTED]> wrote: > A while back Debian would only run depmod on boot if it had not been run > before since the last kernel upgrade. Could you refresh my memory about > why that optimisation was dropped? I think because depmod --quick is supposed to be about as fast a

Re: The necessity of running depmod at boot time

2006-05-18 Thread Joey Hess
Jeroen van Wolffelaar wrote: > I think one of the issues here is that it depends on what kernel you > currently use, and iirc there can be a situation where one does not > want to run depmod at installation time, or when that might give wrong > results. FWIW, d-i currently runs depmod at image bui

Re: The necessity of running depmod at boot time

2006-05-18 Thread Joey Hess
Margarita Manterola wrote: > Currently it is run by these packages' postinst: > * kernel/linux-image-* This takes care to run depmod -F , which should make the depmod work even though that kernel isn't running yet. > * pwc-modules-* > * ndiswrapper-modules-* > * linux-wlan-ng-modules-* > * spca5

Re: The necessity of running depmod at boot time

2006-05-18 Thread Jeroen van Wolffelaar
On Thu, May 18, 2006 at 07:21:33PM -0300, Margarita Manterola wrote: > Continuing on the goal of optimizing boot time, quite a number of > seconds (specially in old machines) can be saved by not running depmod > at boot time. > > Currently it is run by these packages' postinst: > * [long list] >

Re: The necessity of running depmod at boot time

2006-05-18 Thread Joey Hess
Marco d'Itri wrote: > If we can agree that it's not needed anymore (i.e. mandate by policy > that packages need to run depmod on their own) then I will be happy to > remove it from the m-i-t init script. A while back Debian would only run depmod on boot if it had not been run before since the last

Re: The necessity of running depmod at boot time

2006-05-18 Thread Mike Hommey
On Thu, May 18, 2006 at 07:21:33PM -0300, Margarita Manterola <[EMAIL PROTECTED]> wrote: > Continuing on the goal of optimizing boot time, quite a number of > seconds (specially in old machines) can be saved by not running depmod > at boot time. (...) > It looks like it's quite safe to stop runnin

Re: The necessity of running depmod at boot time

2006-05-18 Thread Marco d'Itri
On May 19, Margarita Manterola <[EMAIL PROTECTED]> wrote: > Continuing on the goal of optimizing boot time, quite a number of > seconds (specially in old machines) can be saved by not running depmod > at boot time. If we can agree that it's not needed anymore (i.e. mandate by policy that packages

The necessity of running depmod at boot time

2006-05-18 Thread Margarita Manterola
Continuing on the goal of optimizing boot time, quite a number of seconds (specially in old machines) can be saved by not running depmod at boot time. Currently it is run by these packages' postinst: * kernel/linux-image-* * module-init-tools * powermgt-base * zaptel * lirc * toshutils * thinkpad