Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Feb 2003 13:10:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Feb 2003 13:10:12 -0500 Received: from e32.co.us.ibm.com ([32.97.110.130]:58778 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Wed, 26 Feb 2003 13:10:11 -0500 Content-Type: text/plain; charset=US-ASCII From: Kevin Corry Organization: IBM To: Greg KH , Joe Thornber Subject: Re: [PATCH 6/8] dm: allow slashes in dm device names Date: Wed, 26 Feb 2003 12:17:12 -0600 X-Mailer: KMail [version 1.2] Cc: Linux Mailing List References: <20030226170537.GA8289@fib011235813.fsnet.co.uk> <20030226171157.GF8369@fib011235813.fsnet.co.uk> <20030226173804.GA16095@kroah.com> In-Reply-To: <20030226173804.GA16095@kroah.com> MIME-Version: 1.0 Message-Id: <03022612171202.05199@boiler> Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1221 Lines: 29 On Wednesday 26 February 2003 11:38, Greg KH wrote: > On Wed, Feb 26, 2003 at 05:11:57PM +0000, Joe Thornber wrote: > > Allow slashes ('/') within a DM device name, but not at the beginning. > > > > Devfs will automatically create all necessary sub-directories if a name > > with embedded slashes is registered. [Kevin Corry] > > Does this interact with the block device name representation in sysfs? > I don't think sysfs can handle names with '/' very well. This patch shouldn't affect DM's interaction with sysfs. The names in sysfs are generated by the DM core, and are all called "dm-x", where x is the device minor number. The names referred to in the above patch are used only by the device-mapper ioctl interface, and are not seen by the DM core. These are the names generated by the user-space tools, and are the ones that are passed to devfs, which doesn't have a problem with embedded slashes. -- Kevin Corry corryk@us.ibm.com http://evms.sourceforge.net/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/