Lines Matching defs:tdb_dir
1527 const char *tdb_dir;
1538 &tdb_dir);
1549 tdb_dir = getenv("E2FSPROGS_UNDO_DIR");
1550 if (!tdb_dir)
1551 tdb_dir = "/var/lib/e2fsprogs";
1553 if (!strcmp(tdb_dir, "none") || (tdb_dir[0] == 0) ||
1554 access(tdb_dir, W_OK))
1557 tdb_file = malloc(strlen(tdb_dir) + 9 + strlen(dev_name) + 7 + 1);
1560 sprintf(tdb_file, "%s/tune2fs-%s.e2undo", tdb_dir, dev_name);