[lkml]   [2003]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: module-init-tools and chained aliases
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

 \ /
  Last update: 2005-03-22 13:36    [W:0.023 / U:3.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site