Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bart/
H A Dcreate.c34 static int create_manifest_filelist(char **argv, char *reloc_root);
35 static int create_manifest_rule(char *reloc_root, FILE *rule_fp);
43 static int read_filelist(char *reloc_root, char **argv, char *buf,
55 static char reloc_root[PATH_MAX]; variable
67 reloc_root[0] = '\0'; in bart_create()
95 (void) strlcpy(reloc_root, optarg, sizeof (reloc_root)); in bart_create()
96 ret = sanitize_reloc_root(reloc_root, in bart_create()
97 sizeof (reloc_root)); in bart_create()
140 ret = create_manifest_filelist(argv, reloc_root); in bart_create()
142 ret = create_manifest_rule(reloc_root, rules_fd); in bart_create()
[all …]
H A Drules.c385 setup_default_rule(char *reloc_root, uint_t flags) in setup_default_rule() argument
389 new_rule = add_single_rule(reloc_root[0] == '\0' ? "/" : reloc_root); in setup_default_rule()
413 read_rules(FILE *file, char *reloc_root, uint_t in_flags, int create) in read_rules() argument
430 (void) setup_default_rule(reloc_root, in_flags); in read_rules()
460 new_rule = add_subtree_rule(s, reloc_root, create, in read_rules()
611 add_subtree_rule(char *rule, char *reloc_root, int create, int *err_code) in add_subtree_rule() argument
625 (rule[0] == '/') ? "%s%s" : "%s/%s", reloc_root, rule); in add_subtree_rule()