filenames with spaces in /sys?

David Woodhouse dwmw2 at infradead.org
Mon Apr 28 04:54:38 EST 2008


On Sun, 2008-04-27 at 20:35 +0200, Christian Kujau wrote:
> 
> /sys/devices/platform/pmu-battery.0/power_supply/PMU battery 0
> /sys/devices/platform/pmu-battery.0/power_supply/PMU battery 0/power
> 
> Hm, OTOH /proc also does contain some elements with spaces in it (e.g. 
> /proc/irq/47/GPIO1 ADB)...so, in short: would patches be accepted to
> turn ' ' into '_' again (if they don't break too much userspace stuff)?

I see no reason not to for the battery class, certainly.

-- 
dwmw2




More information about the Linuxppc-dev mailing list