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

/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c3727 char *new_inst_file = NULL; local
3745 new_inst_file = s_malloc(inst_strlen + PID_STR_LEN + 2);
3750 (void) snprintf(new_inst_file, inst_strlen + PID_STR_LEN + 2,
3753 if (stat(new_inst_file, &sb) == 0) {
3754 s_unlink(new_inst_file);
3757 err = do_inst_sync(new_inst_file, inst_file);
3780 if ((err = rename(new_inst_file, inst_file)) != 0)
3843 } else if ((err = rename(new_inst_file, inst_file)) != 0) {
3854 if (stat(new_inst_file, &sb) == 0) {
3855 s_unlink(new_inst_file);
[all...]

Completed in 74 milliseconds