lkml.org 
[lkml]   [2005]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[PATCH 0/7] driver core: export MAJOR/MINOR to the hotplug env
    This patch sequence moves the creation of the sysfs "dev" file of the class
    devices into the driver core. The struct class_device contains a dev_t
    value now. If set, the driver core will create the "dev" file containing
    the major/minor numbers automatically.

    The MAJOR/MINOR values are also exported to the hotplug environment. This
    makes it easy for userspace, especially udev to know if it should wait for
    a "dev" file to create a device node or if it can just ignore the event.
    We currently carry a compiled in blacklist around for that reason.

    It would also be possible to run some "tiny udev" while sysfs is not
    available - just by reading the hotplug call or the netlink-uevent.

    Thanks,
    Kay

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.020 / U:126.864 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site