What does anaconda know?

Dave Jones davej at redhat.com
Wed Oct 27 14:23:55 UTC 2004


On Wed, Oct 27, 2004 at 03:19:12PM +0200, Kyrre Ness Sjobak wrote:
 > if pcmcia exists

could be a pci card.

 > unautodetectable monitor

could be desktop. a lot of old monitors
dont speak DDC.

 > bunch of ACPI stuff

just testing for the presence of /proc/acpi/battery/BAT0
will probably go a long way. This just leaves laptops
with broken ACPI (or no ACPI), which could be detected
with DMI strings.

 > and then give them weigths? 3/4 "laptop signs" => probably a laptop?

sounds a little 'too clever' imo. The more complicated heuristics
become, the more fragile they seem to be in the real world.

		Dave




More information about the devel mailing list