mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jakub Bogusz <qboosh@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: builtin module aliases in 2.6.0-test11 - non-working MODULE_ALIAS_BLOCKDEV_MAJOR?
Date: Sat, 6 Dec 2003 03:00:39 +0100	[thread overview]
Message-ID: <20031206020039.GD3914@satan.blackhosts> (raw)

As I see after upgrade to test11 MODULE_ALIAS_CHARDEV_MAJOR has just
begun to work without modprobe.conf entries - but
MODULE_ALIAS_BLOCKDEV_MAJOR hasn't.
At least for floppy module - there is:
MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR);
and it means:
$ /sbin/modinfo -F alias floppy
block-major-2-*

But accessing /dev/fd0 still causes modprobe block-major-2, which fails
without block-major-2 alias in /etc/modprobe.conf...


BTW, maybe it would be good to build in some modules more aliases which
seem constant?
I mean (from my modprobe.conf):

alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate
alias iso9660           isofs
alias block-major-11    sr_mod
alias char-major-21     sg


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
PLD Linux       http://www.pld-linux.org/

                 reply	other threads:[~2003-12-06  1:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20031206020039.GD3914@satan.blackhosts \
    --to=qboosh@pld-linux.org \
    --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®