From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Becker Date: Fri, 09 Jan 2004 03:36:55 +0000 Subject: Re: removable media revalidation - udev vs. devfs or static /dev Message-Id: <20040109033655.GK11065@ca-server1.us.oracle.com> List-Id: References: <200401012333.04930.arvidjaar@mail.ru> <20040103055847.GC5306@kroah.com> <20040107185656.GB31827@kroah.com> In-Reply-To: <20040107185656.GB31827@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Wed, Jan 07, 2004 at 10:57:00AM -0800, Greg KH wrote: > Hm, that would work, but what about a user program that just polls on > the device, as the rest of this thread discusses? As removable devices > are not the "norm" it would seem a bit of overkill to create 16 > partitions for every block device, if they need them or not. Um, adding all 16 partitions for a block device that has 5 defined is opposite of the intention of udev, no? While I'd prefer the partition code in-kernel provide hotplug events for each partition, if it is instead scanned by udev, udev should indeed scan the partition table. Remember, udev should be able to give the appropriate system-defined names for the partition, not just 'sda1'. Joel -- "Gone to plant a weeping willow On the bank's green edge it will roll, roll, roll. Sing a lulaby beside the waters. Lovers come and go, the river roll, roll, rolls." Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: joel.becker@oracle.com Phone: (650) 506-8127 ------------------------------------------------------- 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