From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Date: Thu, 08 Jan 2004 02:56:30 +0000 Subject: Re: removable media revalidation - udev vs. devfs or static /dev Message-Id: List-Id: References: <200401012333.04930.arvidjaar@mail.ru> <20040103055847.GC5306@kroah.com> <20040108031357.A1396@pclin040.win.tue.nl> <20040108034906.A1409@pclin040.win.tue.nl> In-Reply-To: <20040108034906.A1409@pclin040.win.tue.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andries Brouwer Cc: Greg KH , Andrey Borzenkov , linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Thu, 8 Jan 2004, Andries Brouwer wrote: > > On Wed, Jan 07, 2004 at 06:19:42PM -0800, Linus Torvalds wrote: > > > When I insert a card in my card reader, it had better "just work". WITHOUT > > any strange "poll another device Y to make device X" work. > > But it does just work. > > Already today. Exactly. It works today, because: - the device nodes are there. Ergo: udev should create the device nodes - the kernel autopartitions the device on any open (both main device and the subpartitions) when it notices a changed media. No polling required. Ergo: the kernel should continue to do this. We should _not_ be in the situation where either of these things aren't true. Linus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ 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