Re: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes

From: Keir Fraser
Date: Thu Jan 12 2006 - 04:57:45 EST



On 12 Jan 2006, at 01:32, Dave Hansen wrote:

Do you have a definitive list of things that you want to export? Are
they things that come and go, or are they static? Do you want hotplug
events for them? Some of those things may be better fit platform
devices. Notice that ACPI has entries in /sys/firmware/acpi
and /sys/devices/system/acpi.

This is a good set of questions. We have about half dozen files in /proc/xen right now. One is an obvious canididate to stick in /dev, as it has primarily an ioctl() interface. The remainder are static, are read-only or read-write with ascii text, and we don't want hotplug events and other baggage.

Maybe making these attributes of a Xen system device makes sense. Are there examples in the kernel of other subsystems/modules with a similar miscellaneous set of files?

-- Keir

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/