Lines Matching defs:root
352 fmd_log_xopen(const char *root, const char *name, const char *tag, int oflags)
365 if (strcmp(root, "") == 0)
367 len = strlen(root) + strlen(name) + strlen(slash) + 1; /* for "\0" */
369 (void) snprintf(lp->log_name, len, "%s%s%s", root, slash, name);
438 fmd_log_tryopen(const char *root, const char *name, const char *tag)
440 return (fmd_log_xopen(root, name, tag, O_RDWR | O_SYNC));
444 fmd_log_open(const char *root, const char *name, const char *tag)
446 return (fmd_log_xopen(root, name, tag, O_RDWR | O_CREAT | O_SYNC));
622 * fmd(1M) runs as root, it will be able to access the space "reserved"
623 * for root, and therefore can run the system of out of disk space in a