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

From: Greg KH (greg@kroah.com)
Date: Wed Feb 26 2003 - 13:20:31 EST


On Wed, Feb 26, 2003 at 12:17:12PM -0600, Kevin Corry wrote:
> 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.

Ok, but it sure would be nice to see the "name" in sysfs instead of the
minor number, right? Just thinking of how this would affect my
much-out-of-date sysfs dm patches :)

thanks,

greg k-h
-
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:38 EST