Messages in this thread | | | From | Rusty Russell <> | Subject | Re: 2.6: races between modprobe and depmod in rc.sysinit | Date | Fri, 01 Aug 2003 16:34:41 +1000 |
| |
In message <200307312145.01711.arvidjaar@mail.ru> you write: > the only reason I can imagine is that it hits depmod -A that runs in > rc.sysinit and does > > truncate /lib/modules/`uname -r`/modules.* > scan modules > write files > > So, quesitons > > - would anybody (Rusty?) object if I change depmod to do > build temp name > move temp name into original
No, that's definitely my preferred method anyway: please send patch. Although I double this causes your problem here.
> - Chmouel, Fred - is depmod on every boot really neccessary? When people > install modules they are expected to run it actually ...
People get it wrong, and you still want them to boot. Increasingly we can live without depmod though: I might fix this in a near-future version to live without it.
Cheers, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/
| |