Use devname() if available to support devfs cloning on BSD.
[tinc] / src / solaris /
drwxr-xr-x   ..
-rw-r--r-- 10045 device.c