Searched defs:hal_mtab_orig (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-cleanup-all-mountpoints.c52 FILE *hal_mtab_orig; local
59 hal_mtab_orig = fopen ("/media/.hal-mtab", "r");
60 if (hal_mtab_orig == NULL) {
63 if (fseek (hal_mtab_orig, 0L, SEEK_END) != 0) {
66 hal_mtab_orig_len = ftell (hal_mtab_orig);
70 rewind (hal_mtab_orig);
72 num_read = fread (hal_mtab_buf, 1, hal_mtab_orig_len, hal_mtab_orig);
76 fclose (hal_mtab_orig);
H A Dhal-storage-cleanup-mountpoint.c52 FILE *hal_mtab_orig; local
60 hal_mtab_orig = fopen ("/media/.hal-mtab", "r");
61 if (hal_mtab_orig == NULL) {
64 if (fseek (hal_mtab_orig, 0L, SEEK_END) != 0) {
67 hal_mtab_orig_len = ftell (hal_mtab_orig);
71 rewind (hal_mtab_orig);
73 num_read = fread (hal_mtab_buf, 1, hal_mtab_orig_len, hal_mtab_orig);
77 fclose (hal_mtab_orig);
H A Dhal-storage-shared.c277 FILE *hal_mtab_orig; local
321 hal_mtab_orig = fopen ("/media/.hal-mtab", "r");
322 if (hal_mtab_orig == NULL) {
325 if (fseek (hal_mtab_orig, 0L, SEEK_END) != 0) {
328 hal_mtab_orig_len = ftell (hal_mtab_orig);
332 rewind (hal_mtab_orig);
334 num_read = fread (hal_mtab_buf, 1, hal_mtab_orig_len, hal_mtab_orig);
338 fclose (hal_mtab_orig);
H A Dhal-storage-mount.c907 FILE *hal_mtab_orig; local
928 hal_mtab_orig = fopen ("/media/.hal-mtab", "r");
929 if (hal_mtab_orig == NULL) {
932 if (fseek (hal_mtab_orig, 0L, SEEK_END) != 0) {
935 hal_mtab_orig_len = ftell (hal_mtab_orig);
939 rewind (hal_mtab_orig);
941 num_read = fread (hal_mtab_buf, 1, hal_mtab_orig_len, hal_mtab_orig);
945 fclose (hal_mtab_orig);

Completed in 65 milliseconds