Skip to contentSkip to conversation

block-major aliases (module-init-tools 3.0-pre2)

DISCUSSION Andrey Borzenkov 2 participants 2 messages Jan 7, 2004 – Jan 8, 2004

lore
Share & tools
lore
#0 lore raw

Apparently generate-modprobe.conf is producing block-major-N-* while kernel (2.6.0) still calls request_module with block-major-N:

{pts/0}% grep request_module drivers/block/* drivers/block/genhd.c: request_module("block-major-%d", MAJOR(dev));

who is correct?

-andrey

#1 lore raw

In message <[email protected]> you write:

Quoted 7 lines

Apparently generate-modprobe.conf is producing block-major-N-* while kernel (2.6.0) still calls request_module with block-major-N:

{pts/0}% grep request_module drivers/block/* drivers/block/genhd.c: request_module("block-major-%d", MAJOR(dev));

who is correct?

The former, but patch didn't make it into 2.6.0. Fix (which does both, due to the confusion) is in -rc2.

Cheers,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.