Re: [PATCH 6/8] dm: allow slashes in dm device names

From: Kevin Corry (corryk@us.ibm.com)
Date: Wed Feb 26 2003 - 13:17:12 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:37 EST