Re: module-init-tools and chained aliases

From: Rusty Russell (
Date: Sun Jun 15 2003 - 19:04:55 EST

In message <> 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

There may be convincing arguments to adding support for recursive
aliases, but this isn't it.


  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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:43 EST