From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 11 Apr 2003 19:58:43 +0000 Subject: Re: [ANNOUNCE] udev 0.1 release Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Apr 11, 2003 at 12:28:27PM -0700, Joel Becker wrote: > On Fri, Apr 11, 2003 at 11:31:28AM -0700, Kevin P. Fleming wrote: > > - if any partitions are found, they are registered with the kernel using > > device-mapper ioctls > > - because these new "mapped sections" of the drive are _also_ usable block > > devices in their own right, they generate hotplug events > > In reality, we need /dev/disk0 for disks, and /dev/part0 for > partitions, and /dev/lv0 for logical volumes from the LVM. Well, that's maybe what _you_ want to call your disks and partitions, but not what I want to call them :) > There's going to be a war over this naming, and that's why this is > hard. No, there isn't. That's what I am trying to completely avoid with udev. It will allow you to plug in whatever device naming scheme that you want. This will keep all of the disc vs. disk flamewars from every happening in the kernel community (well, I can hope...) I'll be providing a small default name scheme that happens to match the current Documentation/devices.txt names, and possibly a devfs naming scheme for those people who like that scheme. After that, it will be quite easy for you to create a Oracle naming scheme where you give different prefixes to your partitions vs. disks. This scheme allows you to use databases, flat files, or even send a message across the network to a admin console to get the name of a new device. Much more flexible than setting a kernel naming scheme, and moves this whole argument and policy out of the kernel. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ 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