[lkml]   [2005]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] Updates to sysfs_create_subdir()
    On Mon, Nov 28, 2005 at 08:10:36PM -0500, Kyle Moffett wrote:
    > On Nov 28, 2005, at 15:49, Greg KH wrote:
    > >On Wed, Nov 23, 2005 at 01:56:29PM -0800, Patrick Mochel wrote:
    > >>The patch below addresses this issue by parsing the subdirectory
    > >>name and creating any parent directories delineated by a '/'.
    > >
    > >Generally I never liked parsing stuff like this in the kernel (proc
    > >and devfs both do this). That being said, I do see the need to
    > >make subdirs like this easier.
    > >
    > >But what about cleanups? If I create an attribute group "foo/baz/
    > >x/" and then remove it, will the subdirectories get cleaned up
    > >too? What about if I had created a group "foo/baz/y/" after the
    > >"x" one? Or just "foo/baz"?
    > If the kernel gets this, then udev needs to allow attributes with
    > more generic paths too. It would be nice if I could use this [Pulled
    > from the sample udev output halfway down this page: http://
    > BUS="scsi", SYSFS{../../../manufacturer}="Tekom Technologies, Inc",
    > NAME="my_camera"

    Why can't you do this today? Have you tried it?


    greg k-h
    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-11-29 07:07    [W:0.029 / U:3.408 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site