From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 03 Mar 2004 15:14:33 +0000 Subject: Re: [ANNOUNCE] udev 021 release Message-Id: <20040303151433.GC25687@kroah.com> List-Id: References: <20040303000957.GA11755@kroah.com> <20040303095615.GA89995@weiser.dinsnail.net> <200403030722.17632.edt@aei.ca> In-Reply-To: <200403030722.17632.edt@aei.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Ed Tomlinson Cc: Michael Weiser , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Wed, Mar 03, 2004 at 07:22:17AM -0500, Ed Tomlinson wrote: > On March 03, 2004 04:56 am, Michael Weiser wrote: > > Normally with static /dev one has a /dev/dsp device for example. As soon > > as an application tries to open it the kernel would try to load a module > > "sound" or "char-major-something" if sound support isn't compiled into > > it. Now with udev I'll never get /dev/dsp in the first place and there's > > no mechanism like devfs's file open monitoring and subsequent device > > file creation. So my idea is to initialise /dev with some static files, > > for hardware I know is there but hasn't had a driver loaded yet. My > > question is: Is there a nicer and more elegant way than just unpacking a > > tarball into /dev before starting udevd? A tarball would also break a > > (theoretical) use of dynamic major/minor numbers by the kernel. > > Would it be possible to have something in the module itself? i.e. We create > a new macro to add info that a script can use. This info could live in a new file > in lib/modules or in the actual module. This could be used to create the static > setup dynamicly. > > This item keeps coming up as the one feature that devfs has and udev > does not. It keeps getting dismissed. Users seem to actually want it... Users need to learn that the kernel is changing models from one which automatically loaded modules when userspace tried to access the device, to one where the proper modules are loaded when the hardware is found. Note that this is a much more sane model due to removable devices, and instances of multiple types of the same kind of devices in the same system. So no, udev is not going to handle this "issue" except in the case of removable devices and their partitions. Which is already working in udev today. thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel