[lkml]   [2003]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 6/8] dm: allow slashes in dm device names
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.048 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site