manu@netbsd.org said: > Having a global pointing to the root device is probably the right way, > How about TAILQ_FIRST(&alldevs) ??? If you are paranoid, you could also walk the list and check for dv_parent == NULL. best regards Matthias