mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: module-init-tools and chained aliases
Date: Mon, 16 Jun 2003 10:04:55 +1000	[thread overview]
Message-ID: <20030616002453.99E172C07D@lists.samba.org> (raw)
In-Reply-To: Your message of "Sun, 15 Jun 2003 13:52:36 +0400." <200306151352.36226.arvidjaar@mail.ru>

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.

      reply	other threads:[~2003-06-16  0:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-15  9:52 Andrey Borzenkov
2003-06-16  0:04 ` Rusty Russell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030616002453.99E172C07D@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=arvidjaar@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®