Messages in this thread | | | Date | Fri, 10 Nov 2006 00:15:33 +0100 | From | Pavel Machek <> | Subject | Re: How to document dimension units for virtual files? |
| |
Hi!
> What about the following ...
Looks good to me.
> +> ls /sys/kernel/debug/sysinfo > +free_mem_KiB > +online_time_ms > +cpu_time_us > + > +> cat /sys/kernel/debug/free_mem_KiB > +147536
Someone had idea of free_mem:KiB ... which is quite neat.
Anyway, Greg's opinion was that we should just document units in documentation and not pollute names with that. I'm not sure if it works for battery (because of current:mA vs. current:mW confusion).
Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/
| |