On Wed, 2006-01-11 at 19:23 -0500, Mike D. Day wrote:
> Greg KH wrote:
>
> > Why is xen special from the rest of the kernel in regards to adding
> > files to sysfs? What does your infrastructure add that is not currently
> > already present for everyone to use today?
>
> I think it comes down to simplification for non-driver code, which is
> admittedly not the mainstream use model for sysfs.
You might also want to take a good look at how things like ACPI do
exports in sysfs: in /sys/firmware. Not that ACPI is a good example of
_anything_ :), but that is probably more compliant with the current
model than your own /sys/xen.
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.
-- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]