function is modified copy of list_writable_backends(). diff -uw between