Searched refs:mountpt (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/external/bsd/am-utils/dist/amd/ |
| H A D | sun_map_parse.y | 229 struct sun_mountpt *mountpt; variable 232 mountpt = CALLOC(struct sun_mountpt); 240 mountpt->location_list = (struct sun_location *)list->first; 243 mountpt->path = xstrdup($1); 246 sun_list_add(get_mountpt_list(), (qelem *)mountpt); 252 struct sun_mountpt *mountpt; variable 255 mountpt = CALLOC(struct sun_mountpt); 259 mountpt->fstype = tmpFsType; 269 mountpt->location_list = (struct sun_location *)list->first; 278 mountpt->opt_list = (struct sun_opt *)list->first; [all …]
|
| H A D | sun_map.c | 474 const struct sun_mountpt *mountpt; in sun_multi2amd() local 482 for (mountpt = s_entry->mountpt_list; in sun_multi2amd() 483 mountpt != NULL; in sun_multi2amd() 484 mountpt = NEXT(struct sun_mountpt, mountpt)) { in sun_multi2amd() 489 sun_append_str(dest, destlen, key, mountpt->path); in sun_multi2amd() 493 sun_locations2amd(dest, destlen, key, mountpt->location_list); in sun_multi2amd()
|
| /netbsd-src/usr.sbin/sysinst/ |
| H A D | util.c | 1214 char url[STRSIZE], tmpf[PATH_MAX], mountpt[PATH_MAX]; in entropy_get_file() local 1223 mountpt[0] = 0; in entropy_get_file() 1277 strcpy(mountpt, "/tmp/ent-mnt.XXXXXX"); in entropy_get_file() 1278 dir = mkdtemp(mountpt); in entropy_get_file() 1281 sprintf(path, "%s/%s", mountpt, entropy_file); in entropy_get_file() 1284 nfs_host, nfs_dir, mountpt) == 0) { in entropy_get_file() 1288 "umount %s", mountpt); in entropy_get_file() 1289 rmdir(mountpt); in entropy_get_file() 1302 strcpy(mountpt, "/tmp/ent-mnt.XXXXXX"); in entropy_get_file() 1303 dir = mkdtemp(mountpt); in entropy_get_file() [all …]
|