Searched refs:altroot (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/boot/scripts/
H A Dextract_boot_filelist.ksh49 altroot=$1
52 cd $altroot/
64 altroot=""
73 altroot="$OPTARG"
97 if [ "$altroot" == "" ] || [ $platform_provided = yes ]; then
116 if [ -f $altroot/$list ]; then
117 grep ^platform$ $altroot/$list > /dev/null
119 build_platform $altroot
121 cat $altroot/$list | grep -v ^platform$
123 cat $altroot/
[all...]
/illumos-gate/usr/src/lib/brand/solaris10/zone/
H A Dprestate.ksh49 altroot=$5 # unused at this time for s10 branded zones
H A Dpoststate.ksh50 altroot=$5 # unused at this time for s10 branded zones
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlistcert.c50 * [-n name] [-o outfile] [-P passarg] [-R altroot]
60 char *altroot = NULL; local
92 altroot = optarg;
138 if (altroot != NULL) {
139 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) {
140 log_msg(LOG_MSG_ERR, MSG_TOO_LONG, altroot);
145 log_msg(LOG_MSG_ERR, MSG_TOO_LONG, altroot);
151 if (geteuid() == 0 || altroot != NULL) {
H A Dremovecert.c50 * Syntax: addcert [-a app] [-k keystore] -n name [-P passarg] [-R altroot]
60 char *altroot = NULL; local
82 altroot = optarg;
108 if (geteuid() == 0 || altroot != NULL) {
H A Daddcert.c72 char *altroot = NULL; local
115 altroot = optarg;
185 if (altroot != NULL) {
186 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) {
187 log_msg(LOG_MSG_ERR, MSG_TOO_LONG, altroot);
192 log_msg(LOG_MSG_ERR, MSG_TOO_LONG, altroot);
198 if (geteuid() == 0 || altroot != NULL) {
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_mount.c232 * Description: Mounts a BE. If the altroot is not provided, this function
235 * altroot reference pointer passed in. This returned value is
240 * altroot - reference pointer to altroot of where to mount BE.
249 _be_mount(char *be_name, char **altroot, int flags) argument
261 if (be_name == NULL || altroot == NULL)
313 * If altroot not provided, create a temporary alternate root
316 if (*altroot == NULL) {
326 tmp_altroot = *altroot;
329 md.altroot
1150 char *altroot = data; local
1972 get_mountpoint_from_vfstab(char *altroot, const char *fs, char *mountpoint, size_t size_mp, boolean_t get_alt_mountpoint) argument
2041 char *altroot = data; local
2119 be_mount_root(zfs_handle_t *zhp, char *altroot) argument
2150 zfs_get_name(zhp), altroot, local
2159 altroot, libzfs_error_description(g_zfs)); local
2258 char *altroot = NULL; local
[all...]
H A Dlibbe_priv.h91 char *obe_altroot; /* Original BE altroot */
101 char *altroot; /* Location of where to mount BE */ member in struct:be_mount_data
107 char *altroot; /* Location of where BE is mounted */ member in struct:be_unmount_data
125 char *altroot; member in struct:be_fs_list_data
H A Dbe_utils.c2247 if (!zfs_is_mounted(zhp, &md.altroot)) {
2249 if ((ret = be_make_tmp_mountpoint(&md.altroot)) != BE_SUCCESS) {
2260 free(md.altroot);
2268 md.altroot);
2280 (void) rmdir(md.altroot);
2284 zfs_get_name(zhp), md.altroot);
2290 free(md.altroot);
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c45 * if (zonecfg_find_scratch(fp, zonename, altroot, NULL, 0) == 0) {
49 * zonecfg_add_scratch(fp, zonename, kernname, altroot);
149 size_t kernlen, char *altroot, size_t altlen)
175 if (altroot != NULL && strlcpy(altroot, cp2, altlen) >= altlen)
183 zonecfg_find_scratch(FILE *fp, const char *zonename, const char *altroot, argument
192 if (strcmp(zone, zonename) == 0 && strcmp(altroot, aroot) == 0)
200 size_t namelen, char *altroot, size_t altlen)
206 sizeof (kzone), altroot, altlen) == 0) {
215 const char *altroot)
148 zonecfg_get_scratch(FILE *fp, char *zonename, size_t namelen, char *kernname, size_t kernlen, char *altroot, size_t altlen) argument
199 zonecfg_reverse_scratch(FILE *fp, const char *kernzone, char *zonename, size_t namelen, char *altroot, size_t altlen) argument
214 zonecfg_add_scratch(FILE *fp, const char *zonename, const char *kernzone, const char *altroot) argument
[all...]
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c172 char *altroot; local
216 altroot = "-R /stubboot ";
218 altroot = "";
255 altroot, entry);
259 "-o %s%s%s", altroot, quote,
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c172 char *altroot; local
216 altroot = "-R /stubboot ";
218 altroot = "";
255 altroot, entry);
259 "-o %s%s%s", altroot, quote,
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c221 const char *altroot; local
234 altroot = zonecfg_get_root();
235 arlen = strlen(altroot);
276 (strncmp(mnp->mnt_special, altroot, arlen) != 0 ||
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_003_pos.ksh39 # Setting altroot=<path> and cachefile=$CPATH for zpool create is succeed
42 # 1. Attempt to create a pool with -o altroot=<path> -o cachefile=<value>
71 log_assert "Setting altroot=path and cachefile=$CPATH for zpool create succeed."
83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \
100 log_pass "Setting altroot=path and cachefile=$CPATH for zpool create succeed."
/illumos-gate/usr/src/cmd/avs/dscfg/
H A Ddscfg.c85 char altroot[MAX_FILENAME]; /* specifed root location */ variable
325 "%s%s", altroot, DEFAULT_PARSER_LOC);
536 strcpy(altroot, optarg);
627 rflg ? altroot : NULL);
641 rflg ? altroot : NULL);
752 " %s/var/tmp/.dscfg.bak", altroot,
753 altroot, altroot);
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1801 char *altroot = NULL; local
1877 altroot = optarg;
1911 if (altroot != NULL)
1912 altroot_cmd(altroot, argc, argv);
1972 * the linkid if altroot is NULL.
1975 i_dladm_aggr_get_linkid(const char *altroot, const char *arg, argument
1988 if (altroot != NULL)
2005 char *altroot = NULL; local
2017 altroot = optarg;
2029 status = i_dladm_aggr_get_linkid(altroot, arg
2047 char *altroot = NULL; local
2144 char *altroot = NULL; local
2223 char *altroot = NULL; local
2346 char *altroot = NULL; local
2449 char *altroot = NULL; local
2498 char *altroot = NULL; local
4006 char *altroot = NULL; local
4614 char *altroot = NULL; local
4820 char *altroot = NULL; local
5245 char *altroot = NULL; local
5314 char *altroot = NULL; local
5372 char *altroot = NULL; local
5422 char *altroot = NULL; local
6853 char *altroot = NULL; local
7723 char *altroot = NULL; local
7962 char *altroot = NULL; local
7998 char *altroot = NULL; local
8832 altroot_cmd(char *altroot, int argc, char *argv[]) argument
9478 char *altroot = NULL; local
9599 char *altroot = NULL; local
[all...]
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg.h110 char *cfg_location(char *location, int mode, char *altroot);
H A Dcfg.c2258 cfg_location(char *location, int mode, char *altroot) argument
2274 if (altroot) {
2275 strcpy(wellknown, altroot);
2343 if (altroot) {
2344 strcpy(loc, altroot);
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c216 char *altroot = NULL; variable
347 altroot = optarg;
399 t_arg, altroot);
428 altroot = optarg;
456 status = dladm_flow_remove(handle, flowname, t_arg, altroot);
463 state.fs_altroot = altroot;
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c464 const char *altroot; local
469 altroot = zonecfg_get_root();
471 state, cmd, altroot) > sizeof (cmdbuf))
487 const char *altroot; local
492 altroot = zonecfg_get_root();
494 state, cmd, altroot) > sizeof (cmdbuf))
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c550 spa_add(const char *name, nvlist_t *config, const char *altroot) argument
618 if (altroot) {
619 spa->spa_root = spa_strdup(altroot);
633 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path);
H A Dspa.c3347 char *altroot, size_t buflen)
3390 if (altroot) {
3395 spa_altroot(spa, altroot, buflen);
3397 altroot[0] = '\0';
3401 spa_altroot(spa, altroot, buflen);
3594 char *altroot = NULL; local
3618 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
3619 spa = spa_add(pool, NULL, altroot);
4048 char *altroot = NULL; local
4071 zpool_prop_to_name(ZPOOL_PROP_ALTROOT), &altroot);
3346 spa_get_stats(const char *name, nvlist_t **config, char *altroot, size_t buflen) argument
5035 char *altroot = NULL; local
[all...]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c266 return (gettext("\tsplit [-n] [-R altroot] [-o mntopts]\n"
800 char *altroot = NULL; local
819 altroot = optarg;
862 altroot = propval;
938 if (altroot != NULL && altroot[0] != '/') {
940 "must be an absolute path\n"), altroot);
962 if (altroot != NULL)
964 altroot, poolname);
969 if (altroot !
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h613 extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
707 extern spa_t *spa_add(const char *name, nvlist_t *config, const char *altroot);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs.h354 char *altroot);

Completed in 175 milliseconds

12