Home
last modified time | relevance | path

Searched refs:old_inst_file (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c3740 char *old_inst_file = NULL; in flush_path_to_inst() local
3758 old_inst_file = s_malloc(inst_strlen + PID_STR_LEN + 6); in flush_path_to_inst()
3798 (void) snprintf(old_inst_file, inst_strlen + PID_STR_LEN + 6, in flush_path_to_inst()
3801 if (stat(old_inst_file, &sb) == 0) { in flush_path_to_inst()
3802 s_unlink(old_inst_file); in flush_path_to_inst()
3805 if ((old_inst_file_fp = fopen(old_inst_file, "w")) == NULL) { in flush_path_to_inst()
3814 err_print(CANT_UPDATE, old_inst_file); in flush_path_to_inst()
3831 vprint(INFO_MID, CANT_UPDATE, old_inst_file); in flush_path_to_inst()
3841 (void) chmod(old_inst_file, 0444); in flush_path_to_inst()
3852 if ((err = rename(old_inst_file, old_inst_file_npid)) != 0) { in flush_path_to_inst()
[all …]