Searched refs:libzfs_sharetab (Results 1 – 3 of 3) sorted by relevance
63 FILE *libzfs_sharetab; member
600 hdl->libzfs_sharetab = fopen("/etc/dfs/sharetab", "rF"); in libzfs_init()605 (void) fclose(hdl->libzfs_sharetab); in libzfs_init()624 if (hdl->libzfs_sharetab) in libzfs_fini()625 (void) fclose(hdl->libzfs_sharetab); in libzfs_fini()
131 if (hdl->libzfs_sharetab == NULL) in is_shared()134 (void) fseek(hdl->libzfs_sharetab, 0, SEEK_SET); in is_shared()136 while (fgets(buf, sizeof (buf), hdl->libzfs_sharetab) != NULL) { in is_shared()