From mboxrd@z Thu Jan 1 00:00:00 1970 From: rihad Date: Tue, 09 Mar 2004 10:16:06 +0000 Subject: Re: [ANNOUNCE] udev 021 release Message-Id: <404D9966.6080903@mail.ru> List-Id: References: <20040303153403.21649.81059.Mailman@linux.us.dell.com> <4048D503.10808@mail.ru> <20040309081948.GI22057@kroah.com> In-Reply-To: <20040309081948.GI22057@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: linux-kernel-digest@lists.us.dell.com, linux-kernel@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net Greg KH wrote: > On Fri, Mar 05, 2004 at 11:29:07PM +0400, rihad wrote: > >>Date: Wed, 3 Mar 2004 07:14:33 -0800 >>From: Greg KH >> >>>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. >> >>Does this mean that I will have modules for all my hardware hanging >>around even if I'm not, say, using cdrom at the moment? > > > Yup, why not? > I suspect there's nothing wrong with that under many common scenarios (apart from the one thing I seem to dislike so much that if a cdrom isn't being used, no driver for it should be loaded). But it does impose certain amount of strict policy that Unix (and Linux more so) has long been doing a great job of avoiding. > >>And does it mean that if I rmmod -a the unused cdrom module and later >>try to mount /cdrom, the correct module won't be magically insmod'ed? > > > If you don't have the /dev entry there, how would anything know to load > the module? > Does the devfs/udev /dev entry get removed when doing rmmod? I though not. But since the module isn't there anymore, doing mount /dev/cdrom /cdrom would give "No such device". Not a problem per se, but then probably rmmod -a isn't as a wise thing to do with udev as it is with devfs. Bad. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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