Stephan Broß wrote:

> How did you manage writing to sysfs. I tried to mount it with 'exec'
> option, but without success. Nowhere I can find a file named
> 'loading' or 'data', so I assume you create it?

Nope.  Just mount sysfs with the default mount options is all you need, 
assuming that you enabled it in your kernel .config (CONFIG_SYSFS).  The 
/etc/fstab entry would look like this

sysfs                   /sys                    sysfs   defaults    0 0

The loading and other fancy bits are dynamically created before the 
/sbin/hotplug script is called, and $DEVPATH is likewise dynamically 
created and defined in the environment before /sbin/hotplug is called.


Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Zd1211-devs mailing list -

Reply via email to