Searched refs:rootdir (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-set-default.in24 rootdir=
54 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
78 grubdir=${rootdir}/boot/grub
82 grubdir=${rootdir}/grub
86 echo "No GRUB directory found under ${rootdir}/" 1>&2
H A Dgrub-install.in36 rootdir=
241 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
285 bootdir=${rootdir}
289 bootdir=${rootdir}/boot
380 root_device=`find_device ${rootdir}`
419 ${grub_set_default} --root-directory=${rootdir} default
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dstart_svm.c67 char *rootdir, *tf; local
74 rootdir = DEFAULT_ROOTDIR;
76 rootdir = mntpnt;
79 rootdir, SYSTEM_FILE)) < 0) {
84 rootdir, MD_CONF)) < 0) {
135 if ((rval = write_xlate_to_mdconf(rootdir)) != 0) {
137 rootdir);
141 if ((rval = write_targ_nm_table(rootdir)) != 0) {
187 if ((rval = get_rootmetadevice(rootdir, &mdevnamep)) == 0) {
197 "No root mirrors! ", rootdir);
[all...]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c728 get_driver_class(char *rootdir, char *driver_name) argument
735 logdmsg(("get_driver_class: rootdir = %s, driver name = %s\n",
736 rootdir, driver_name));
738 (void) snprintf(buf, sizeof (buf), "%s%s", rootdir, DRIVER_CLASSES);
806 lookup_in_conf_file(char *rootdir, char *conf_file, char *path) argument
820 logdmsg(("lookup_in_conf_file: rootdir = \"%s\", conf_file = \"%s\", "
821 "path = \"%s\"\n", rootdir, conf_file, STRVAL(path)));
823 (void) snprintf(buf, MAXPATHLEN, "%s%s", rootdir, conf_file);
907 par_driver_class = get_driver_class(rootdir, par_driver_name);
978 * rootdir roo
989 compare_controller(char *rootdir, char *dev1, char *dev2) argument
1048 is_root_controller(char *rootdir, char *path) argument
1122 file_exists(char *rootdir, char *path) argument
1152 is_mpxio_disabled(char *rootdir, char *path) argument
1425 build_pathlist(char *rootdir, char *vhcipath, char **pathlist, int npaths) argument
1478 is_dev_in_vfstab(char *rootdir, char *nodepath) argument
1623 get_target_devlink(char *rootdir, char *physpath, char *buf, size_t bufsz) argument
1687 devname2physpath(char *rootdir, char *devname, char *physpath, int physpathlen) argument
1734 devfs_target2install(const char *rootdir, const char *devname, char *buf, size_t bufsz) argument
1795 devfs_install2target(const char *rootdir, const char *devname, char *buf, size_t bufsz) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c50 vnode_t *rootdir = NULL; /* pointer to root inode vnode. */ variable
69 if (rootdir == NULL) {
84 rootdir = vp;
87 zone0.zone_rootvp = rootdir;
144 if ((vp = rootdir) == NULL)
159 if ((vp = rootdir) == NULL)
H A Dfake_lookup.c73 * should only be held if rootvp != rootdir.
269 if (rootvp != rootdir)
410 if (rootvp != rootdir)
434 if (rootvp != rootdir)
481 if (rootvp != rootdir)
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Di.awk.sh40 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
41 { print substr($0, length(rootdir)+1)} }'`
H A Di.sed.sh40 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
41 { print substr($0, length(rootdir)+1)} }'`
H A Dr.awk.sh44 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
45 { print substr($0, length(rootdir)+1)} }'`
H A Dr.sed.sh44 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
45 { print substr($0, length(rootdir)+1)} }'`
H A Di.build.sh40 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
41 { print substr($0, length(rootdir)+1)} }'`
H A Dr.build.sh44 /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
45 { print substr($0, length(rootdir)+1)} }'`
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_main.c129 dlmgmt_door_attach(zoneid_t zoneid, char *rootdir) argument
135 (void) snprintf(doorpath, sizeof (doorpath), "%s%s", rootdir,
178 char rootdir[MAXPATHLEN], tmpfsdir[MAXPATHLEN]; local
183 rootdir[0] = '\0';
184 } else if (zone_getattr(zoneid, ZONE_ATTR_ROOT, rootdir,
185 sizeof (rootdir)) < 0) {
192 (void) snprintf(tmpfsdir, sizeof (tmpfsdir), "%s%s", rootdir,
208 return (dlmgmt_door_attach(zoneid, rootdir));
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_setinfo_file.c102 uint64_t rootdir; local
108 &flags, &rootdir, &namelen);
116 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) {
133 uint64_t rootdir; local
139 &flags, &rootdir, &namelen);
147 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) {
/illumos-gate/usr/src/uts/common/fs/
H A Dlookup.c155 rootvp = rootdir;
156 else if (rootvp != rootdir) /* no need to VN_HOLD rootdir */
207 * should only be held if rootvp != rootdir.
422 if (rootvp != rootdir)
568 if (rootvp != rootdir)
594 if (rootvp != rootdir)
644 if (rootvp != rootdir)
919 * Given a global path (from rootdir), and a vnode that is the current root,
937 if (vn_compare(vrootp, rootdir))
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c425 char rootdir[DFS_PATH_MAX]; local
428 if (dfs_namespace_path(name, rootdir, DFS_PATH_MAX) != ERROR_SUCCESS)
432 if (dfs_root_getinfo(rootdir, &info, 2) != ERROR_SUCCESS)
452 dfs_root_getinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl) argument
464 if ((xfd = dfs_root_xopen(rootdir, O_RDONLY)) > 0) {
475 * Root is specified by 'rootdir' and the target is specified by
481 dfs_root_setinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl) argument
488 if ((xfd = dfs_root_xopen(rootdir, O_RDWR)) < 0) {
938 char rootdir[DFS_PATH_MAX]; local
956 if (dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MA
1057 char rootdir[DFS_PATH_MAX]; local
1143 dfs_root_add(const char *rootdir, dfs_info_t *info) argument
1162 dfs_root_remove(const char *rootdir) argument
1194 dfs_root_xopen(const char *rootdir, int oflag) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_snap.c105 topo_open(int version, const char *rootdir, int *errp) argument
125 if (rootdir != NULL && stat(rootdir, &st) < 0)
155 if (rootdir == NULL) {
156 rootdir = topo_hdl_strdup(thp, "/");
157 thp->th_rootdir = (char *)rootdir;
162 len = strlen(rootdir);
166 if (rootdir[len - 1] != '/') {
168 (void) snprintf(rpath, len + 2, "%s/", rootdir);
170 rpath = (char *)rootdir;
[all...]
H A Dtopo_builtin.c102 topo_builtin_create(topo_hdl_t *thp, const char *rootdir) argument
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb.c461 static char rootdir[MAXPATHLEN]; local
485 (void) strncpy(rootdir, execname, sizeof (rootdir));
486 rootdir[sizeof (rootdir) - 1] = '\0';
487 (void) strdirname(rootdir);
489 if (strcmp(strbasename(rootdir), "sparcv9") == 0 ||
490 strcmp(strbasename(rootdir), "sparcv7") == 0 ||
491 strcmp(strbasename(rootdir), "amd64") == 0 ||
492 strcmp(strbasename(rootdir), "i8
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-install115 rootdir=/etc/svc/volatile
116 /usr/bin/mkdir -p $rootdir/etc/inet
119 msg="Error creating \"$rootdir/etc/inet\" directory"
123 cmd="$ROUTE -R $rootdir -p add $details"
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/
H A Dsyslog.c341 char *facname, *tz, *rootdir, *urlbase; local
393 rootdir = fmd_prop_get_string(hdl, "fmd.rootdir");
394 syslog_msghdl = fmd_msg_init(rootdir, FMD_MSG_VERSION);
395 fmd_prop_free_string(hdl, rootdir);
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1171 _da_lock_devdb(char *rootdir) argument
1183 if (rootdir == NULL) {
1187 if (snprintf(path, size, "%s%s", rootdir, DA_DB_LOCK) >= size)
1238 da_open_devdb(char *rootdir, FILE **dafp, FILE **dmfp, int flag) argument
1260 if ((lockfd = _da_lock_devdb(rootdir)) == -1)
1271 if (rootdir == NULL) {
1274 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1304 if (rootdir == NULL) {
1307 if (snprintf(path, sizeof (path), "%s%s", rootdir,
1503 char *rootdir local
[all...]
H A Ddevalloc.h152 char *rootdir; member in struct:_da_optargs
/illumos-gate/usr/src/cmd/rm/
H A Drm.c52 static struct stat rootdir; variable in typeref:struct:stat
142 if (recursive && stat("/", &rootdir) != 0) {
351 if (temp.st_ino == rootdir.st_ino &&
352 temp.st_dev == rootdir.st_dev) {
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones.c1180 char *rootdir; local
1191 rootdir = _z_strdup((char *)zroot);
1192 z_canoninplace(rootdir);
1194 if (strcmp(rootdir, "/") == 0) {
1195 rootdir[0] = '\0';
1206 if (*rootdir != '\0') {
1207 _z_global_data._z_root_dir = _z_strdup(rootdir);
1214 zonecfg_set_root(rootdir);
1216 free(rootdir);

Completed in 71 milliseconds

123