_da_lock_devdb
if ((lockfd = _da_lock_devdb(rootdir)) == -1)
if ((lockfd = _da_lock_devdb(NULL)) == -1)
lockfd = _da_lock_devdb(rootdir);