Messages in this thread | | | From | Rusty Russell <> | Subject | Re: module-init-tools and chained aliases | Date | Mon, 16 Jun 2003 10:04:55 +1000 |
| |
In message <200306151352.36226.arvidjaar@mail.ru> you write: > Apparently modprobe from module-init-tools 0.9.11a does not support chained > aliases like modutils did, i.e. > > alias foo bar > alias bar baz > > will result in error doing "modprobe foo" instead of loading "baz".
Yes, as per the documentation.
> This is a real problem when converting modules.devfs, because customary > > alias /dev/tts* /dev/tts > alias /dev/tts serial
generate-modutils.conf will do the right thing here, and unroll the aliases. And the README in module-init-tools says:
4) If you are using devfs, copy modprobe.devfs to /etc
And modprobe.devfs gets it right.
> Is the behaviour intentional? Fixing it is just a one line patch and > I fail to see why current state would be preferred.
Your patch only works for forwards references, not backwards references.
There may be convincing arguments to adding support for recursive aliases, but this isn't it.
Sorry, 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/
| |