lkml.org 
[lkml]   [1998]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DevFS vs. normal /dev
On Tue, 11 Aug 1998, Richard Gooch wrote:

> > > How do you reference, say, /dev/fd0 if the floppy module isn't even
> > > loaded? You need to do that so kmod loads the module, as things stand
> > > now.
> >
> > This is an issue I raised the other day. Currently, to enable dynamic
> > device loading, you must use the magic tar stuff to create the device
> > in advance with the correct permissions owner, and group. There is
> > a fundamental "chicken and the egg" problem with the auto-creation
> > of device special nodes and use of kmod to auto-load modules.
>
> This isn't correct. If you attempt to do an inode lookup for an inode
> that doesn't exist yet, devfs will send the name of the file to kmod
> which will then load the module.
> All that is required is the right alises in /etc/modules.conf

Ah. So why not fold devfs into autofs, then? (Or vice-versa.)

Matthew.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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