scanning sysfs to populate /dev

phil-news-nospam_at_ipal.net
Date: 04/25/05


Date: 25 Apr 2005 21:41:57 GMT

When scanning sysfs to populate /dev, how should such a program decide
which files have which owner, group, and access permissions. I can
figure a way, but I'm checking to see if there is some accepted common
way or standard for this. Unfortunately, sysfs doesn't have the info.
Normally this would be in a /dev directory on the root filesystem. But
how should this be done for a dynamically created /dev using sysfs in
lieu of the depricated devfs?

-- 
-----------------------------------------------------------------------------
| Phil Howard KA9WGN       | http://linuxhomepage.com/      http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/   http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------


Relevant Pages

  • Re: scanning sysfs to populate /dev
    ... sysfs doesn't have the info. ... at all what the owner, group, or permissions should generally be. ... I'm not doing what udev does. ...
    (comp.os.linux.development.system)
  • Re: scanning sysfs to populate /dev
    ... > decide which files have which owner, group, and access ... > permissions. ... sysfs doesn't have the info. ... No need to reinvent the wheel. ...
    (comp.os.linux.development.system)
  • acpi hotkey sysfs support
    ... I have created a place under sysfs to have a unified place ... to gather user input for common hotkey features. ... All of you are owner of a specific acpi hotkey driver. ...
    (Linux-Kernel)