On Sat, 5 Jan 2002, Paul Jakma wrote: > how does devicefs differ from devfs? eg, on some of my systems i mount > devfs on /devfs and an ls -l of it shows all the devices that > currently have drivers that registered them. different goals. One of the reasons this has come about is for power management, we need a tree like structure so that we for eg, power down a network card before powering down the pci bridge it sits on. (The idea being to power down from the leaves, and work your way back up to the root of the tree) devicefs is just a means of exporting this to userspace, be that for usage with the userspace acpi tools, or for hinv like programs. As I mentioned earlier, ACPI enumerates pretty much everything in the system, even if theres no driver for it. If there is a driver for it, it can register things like "I support these power saving states" with driverfs for additional functionality. It would be nice at some point to get some of the other (pre-ACPI) busses registering stuff there too, for completeness. -- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]Patrick Mochel <mochel _at_ osdl.org>
- Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]Kai Germaschewski <kai _at_ tp1.ruhr-uni-bochum.de>
- Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]Paul Jakma <paulj _at_ alphyra.ie>
- Prev by Date: Re: [patch] O(1) scheduler, 2.4.17-A1, 2.5.2-pre7-A1.
- Next by Date: Re: Why would a valid DVD show zero files on Linux?
- Previous by thread: Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]
- Next by thread: Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]
- Indexes:[Main][Thread]