lkml.org 
[lkml]   [2004]   [Feb]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
Subjectmodule-init-tools/udev and module auto-loading
FromMartin Schlemmer <>
DateMon, 02 Feb 2004 00:31:58 +0200
Hi

A quick question on module-init-tools/udev and module auto-loading ...
lets say I have a module called 'foo', that I want the kernel to
auto-load.

If I now have in modprobe.conf:

--
alias char-major-<foo_major>-* foo
alias /dev/foo foo
--

and /dev/foo exists, it works just fine.  If I delete /dev/foo
however, it does not.  Say the module _do_ support sysfs (meaning
udev will create /dev/foo on loading, this do not really affect
things, as without /dev/foo it do not work anyhow.

This a known issue (sure I know I can add it to local initscript to
load, but this is not always the preferred 'fix')?  Any ideas on
how to 'fix' this?

Then a distant related issue - anybody thought about dynamic major
numbers of 2.7/2.8 (?) and the 'alias char-major-<whatever>-* whatever'
type modprobe rules (as the whole fact of them being dynamic, will make
that alias type worthless ...)?


Thanks,

-- 
Martin Schlemmer
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008