[lhcs-devel] Re: [RFC] don't create cpu/online sysfs file

Greg KH greg at kroah.com
Sat Jun 5 09:13:08 EST 2004

On Fri, Jun 04, 2004 at 03:49:52PM -0700, Ashok Raj wrote:
> place a file in /sys/devices/system/cpuinfo, which when one does a cat on
> can display
> cpu0:	online, not offlinable
> cpu1:	online
> cpu2:	offline (meaning present)

No, put a status file in each cpu directory if you really want this.
Remember, sysfs is 1 value per file, which this proposed file violates.


greg k-h

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list