| /src/sbin/umount/ |
| umount.c | 203 const char *mntpt; local 209 mntpt = name; 229 mntpt = name; 233 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { 239 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { 240 warnx("%s: not currently mounted", mntpt); 245 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { 246 name = mntpt; 247 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { 262 proto = getmntproto(mntpt); [all...] |
| /src/external/bsd/am-utils/dist/amd/ |
| amfs_host.c | 98 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) 102 xstrlcpy(mntpt, mf_mount, l); 104 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); 110 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); 112 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); 320 char mntpt[MAXPATHLEN]; local 426 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount); 427 if (already_mounted(mlist, mntpt)) 490 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount) [all...] |
| mapc.c | 643 mapc_create(char *map, char *opt, const char *type, const char *mntpt) 745 m->cfm = find_cf_map(mntpt); 808 mapc_find(char *map, char *opt, const char *maptype, const char *mntpt) 822 m = mapc_create(map, opt, maptype, mntpt);
|
| /src/tests/fs/tmpfs/ |
| h_funcs.subr | 42 Mount_Point=$(pwd)/mntpt
|
| t_mount.sh | 114 atf_test_case mntpt 139 atf_add_test_case mntpt
|
| t_vnd.sh | 86 umount mntpt/mnt 2>/dev/null 1>&2
|
| t_rmdir.sh | 33 atf_test_case mntpt 195 atf_add_test_case mntpt
|
| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| libzfs_mount.c | 384 char *mntpt = NULL; local 396 mntpt = zfs_strdup(hdl, entry.mnt_mountp); 398 mntpt = zfs_strdup(hdl, mountpoint); 403 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0) 406 if (unmount_one(hdl, mntpt, flags) != 0) { 407 free(mntpt); 412 free(mntpt); 866 char *mntpt; local 872 mntpt = zfs_strdup(hdl, mountpoint); 876 free(mntpt); /* don't need the copy anymore * 927 char *mntpt = NULL; local [all...] |
| libzfs_diff.c | 679 get_mountpoint(differ_info_t *di, char *dsnm, char **mntpt) 683 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt); 692 if (**mntpt == '/' && *(*mntpt + 1) == '\0') 693 **mntpt = '\0'; 719 char *mntpt; local 723 err = get_mountpoint(di, di->fromsnap, &mntpt); 727 frommntpt = mntpt;
|
| /src/bin/df/ |
| df.c | 101 char *mntpt; local 216 if ((mntpt = getmntpt(*argv)) == 0) { 222 if ((mntpt = getmntpt(*argv)) == 0) 223 mntpt = *argv; 225 mntpt = *argv; 231 if (!statvfs(mntpt, &mntbuf[mntcount])) { 233 !streq(mntpt, mntbuf[mntcount].f_mntonname)) 235 mntpt));
|
| /src/sbin/fsck/ |
| fsck.c | 199 const char *spec, *spec2, *mntpt, *type, *cp; local 202 spec = mntpt = *argv; 267 checkfs(const char *vfst, const char *spec, const char *mntpt, void *auxarg, 310 (void)printf("start %s %swait", mntpt, 330 * if mntpt is a mountpoint of a mounted file 334 if ((statvfs(mntpt, &sfs) == 0) && 335 (strcmp(mntpt, sfs.f_mntonname) == 0) && 339 spec, mntpt);
|
| preen.c | 336 addpart(const char *type, const char *dev, const char *mntpt, void *auxarg) 349 p->p_mntpt = estrdup(mntpt);
|
| /src/sbin/fsck_lfs/ |
| main.c | 209 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child)
|
| /src/sbin/fsck_ext2fs/ |
| main.c | 233 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child)
|
| /src/usr.sbin/quotacheck/ |
| quotacheck.c | 316 chkquota(const char *type, const char *fsname, const char *mntpt, void *v, 354 (void)printf(" quotas for %s (%s)\n", fsname, mntpt); 467 errs += update(mntpt, qnp->usrqfname, USRQUOTA); 469 errs += update(mntpt, qnp->grpqfname, GRPQUOTA);
|