Searched refs:mountpoint (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/tests/sys/pjdfstest/tests/
H A Dconf6 mountpoint=$(df . | tail -1 | awk '{print $6}')
7 fs=$(mount -p | awk '$2 == "'$mountpoint'" { print toupper($3) }')
/freebsd-11-stable/lib/libbe/
H A Dbe_access.c46 const char *mountpoint; member in struct:be_mount_info
56 char *mountpoint; local
61 if (!zfs_is_mounted(zfs_hdl, &mountpoint))
63 if (strcmp(mountpoint, info->path) == 0) {
65 free(mountpoint);
68 free(mountpoint);
74 * mount it at the passed mountpoint. If the deepmount flag is set, continue
81 char *mountpoint; local
87 if (zfs_is_mounted(zfs_hdl, &mountpoint)) {
88 free(mountpoint);
155 char *mountpoint; local
235 be_mount(libbe_handle_t *lbh, char *bootenv, char *mountpoint, int flags, char *result_loc) argument
326 be_mountpoint_augmented(libbe_handle_t *lbh, char *mountpoint) argument
[all...]
H A Dbe_impl.h71 char *be_mountpoint_augmented(libbe_handle_t *lbh, char *mountpoint);
H A Dbe_info.c159 char buf[512], *mountpoint; local
185 mounted = zfs_is_mounted(zfs_hdl, &mountpoint);
188 nvlist_add_string(props, "mounted", mountpoint);
192 nvlist_add_string(props, "mountpoint", buf);
/freebsd-11-stable/tools/tools/zfsboottest/
H A Dzfsboottest.sh57 mountpoint=`df -t zfs "${bootfs}" 2>/dev/null | tail -1 | awk '{print $6}'`
58 if [ -z "${mountpoint}" ]; then
62 if [ ! -d "${mountpoint}${startdir}" ]; then
63 echo "The \"${mountpoint}${startdir}\" directory doesn't exist." >&2
90 echo "zfsboottest.sh is reading all the files in ${mountpoint}${startdir} using"
97 "${zfsboottest}" ${vdevs} - `find "${mountpoint}${startdir}" -type f | sed "s@^${mountpoint}@@"` | egrep '^[0-9a-z]{32} /' | sort -k 2 >"${list0}"
98 find "${mountpoint}${startdir}" -type f | xargs md5 -r | sed "s@ ${mountpoint}@ @" | egrep '^[0-9a-z]{32} /' | sort -k 2 >"${list1}"
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.h41 char *mountpoint; member in struct:partedit_item
H A Dpartedit.h76 const char *type, const char *mountpoint, const char *newfs);
H A Ddiskeditor.c59 if (items[item].mountpoint != NULL)
60 dlg_print_text(partitions, items[item].mountpoint, 8, &attr);
73 "Change partition type or mountpoint",
/freebsd-11-stable/etc/rc.d/
H A Dzfsbe11 # For these filesystems mountpoint relative to /
28 zfs list -rH -o mountpoint,name,canmount,mounted -s mountpoint -t filesystem $_be | \
36 # do nothing for filesystems with unset or legacy mountpoint
40 # filesystems with mountpoint relative to BE
44 # filesystems with mountpoint elsewhere
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c36 * mountpoint.
131 * Search the sharetab for the given mountpoint and protocol, returning
135 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto) argument
147 /* the mountpoint is the first entry on each line */
152 if (strcmp(buf, mountpoint) == 0) {
281 * in 'where' with the current mountpoint, and return 1. Otherwise, we return
305 zfs_is_mountable_internal(zfs_handle_t *zhp, const char *mountpoint) argument
317 * mountpoint in 'buf'.
354 char mountpoint[ZFS_MAXPROPLEN]; local
356 if (!zfs_is_mountable(zhp, mountpoint, sizeo
363 zfs_mount_at(zfs_handle_t *zhp, const char *options, int flags, const char *mountpoint) argument
456 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) argument
472 zfs_unmount(zfs_handle_t *zhp, const char *mountpoint, int flags) argument
567 char *mountpoint; local
842 char mountpoint[ZFS_MAXPROPLEN]; local
968 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t proto) argument
1038 zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint, zfs_share_proto_t *proto) argument
1076 zfs_unshare_nfs(zfs_handle_t *zhp, const char *mountpoint) argument
1082 zfs_unshare_smb(zfs_handle_t *zhp, const char *mountpoint) argument
1125 zfs_unshareall_bypath(zfs_handle_t *zhp, const char *mountpoint) argument
1144 char mountpoint[ZFS_MAXPROPLEN]; local
1418 char mountpoint[ZFS_MAXPROPLEN]; local
[all...]
/freebsd-11-stable/usr.sbin/autofs/
H A Dautomount.c89 find_statfs(const struct statfs *mntbuf, int nitems, const char *mountpoint) argument
94 if (strcmp(mntbuf[i].f_mntonname, mountpoint) == 0)
125 * Append the options and mountpoint defined in auto_master(5);
149 char *mountpoint; local
157 mountpoint = node_path(n);
158 sb = find_statfs(mntbuf, nitems, mountpoint);
162 "on %s; mounting", mountpoint);
169 "on %s", mountpoint);
171 free(mountpoint);
176 mountpoint);
[all...]
H A Dautounmountd.c79 automounted_add(fsid_t fsid, const char *mountpoint) argument
88 strlcpy(af->af_mountpoint, mountpoint, sizeof(af->af_mountpoint));
157 unmount_by_fsid(const fsid_t fsid, const char *mountpoint) argument
170 mountpoint, fsid_str, strerror(errno));
173 mountpoint, fsid_str);
H A Dcommon.c633 * mountpoint; only show the child node. This means the typical,
733 * key [-options] [ [/mountpoint] [-options2] location ... ]
740 * for key, and the second, for the mountpoint.
745 char *key = NULL, *options = NULL, *mountpoint = NULL, local
828 if (mountpoint != NULL) {
829 log_errx(1, "duplicated mountpoint "
833 log_errx(1, "mountpoint out of order "
836 mountpoint = checked_strdup(yytext);
872 if (mountpoint == NULL)
873 mountpoint
1116 char *mountpoint = NULL, *map = NULL, *options = NULL; local
[all...]
H A Dcommon.h83 struct node *node_find(struct node *root, const char *mountpoint);
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c69 * mountpoint specified in the 'skip' argument.
91 /* Skip the given mountpoint. */
150 fsshare_main(const char *file, const char *mountpoint, const char *shareopts, argument
203 while (oldfd != NULL && (line = zgetline(oldfd, mountpoint)) != NULL)
214 fprintf(newfd, "%s\t%s\n", mountpoint,
245 * Add the given mountpoint to the given exports file.
248 fsshare(const char *file, const char *mountpoint, const char *shareopts) argument
251 return (fsshare_main(file, mountpoint, shareopts, 1));
255 * Remove the given mountpoint from the given exports file.
258 fsunshare(const char *file, const char *mountpoint) argument
[all...]
/freebsd-11-stable/sbin/bectl/
H A Dbectl_jail.c54 static int bectl_jail_cleanup(char *mountpoint, int jid);
210 bectl_jail_cleanup(char *mountpoint, int jid) argument
220 searchlen = strnlen(mountpoint, MAXPATHLEN);
223 if (strncmp(mountpoint, mntbuf[i].f_mntonname, searchlen) == 0 &&
240 char *bootenv, **jargv, *mountpoint; local
315 mountpoint = NULL;
317 mountpoint = mnt_loc;
318 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) {
330 if (mountpoint == NULL) {
332 mountpoint
[all...]
H A Dbectl.c85 "\tbectl mount beName [mountpoint]\n"
404 char *bootenv, *mountpoint; local
420 mountpoint = ((argc == 3) ? argv[2] : NULL);
422 err = be_mount(be, bootenv, mountpoint, mntflags, result_loc);
432 bootenv, mountpoint);
/freebsd-11-stable/lib/libbe/tests/
H A Dbe_create.sh58 atf_check zfs create -o mountpoint=none ${zpool}/ROOT
59 atf_check zfs create -o mountpoint=/ -o canmount=noauto \
61 atf_check zfs create -o mountpoint=/usr -o canmount=noauto \
63 atf_check zfs create -o mountpoint=/usr/obj -o canmount=noauto \
106 atf_check zfs create -o mountpoint=/usr/src -o canmount=noauto \
/freebsd-11-stable/share/examples/hast/
H A Ducarp_down.sh39 mountpoint="/mnt/test"
66 out=`umount -f "${mountpoint}" 2>&1`
H A Ducarp_up.sh39 mountpoint="/mnt/test"
84 out=`mount -t ufs "${device}" "${mountpoint}" 2>&1`
/freebsd-11-stable/sbin/bectl/tests/
H A Dbectl_test.sh55 atf_check zfs create -o mountpoint=none ${zpool}/ROOT
56 atf_check zfs create -o mountpoint=/ -o canmount=noauto \
72 atf_check zfs create -o mountpoint=/usr -o canmount=noauto \
105 atf_check zfs create -o mountpoint=/usr -o canmount=noauto \
154 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
156 atf_check -e not-empty -s not-exit:0 zfs get mountpoint ${zpool}/ROOT/default2
234 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
236 atf_check -e not-empty -s not-exit:0 zfs get mountpoint \
330 atf_check -o not-empty zfs get mountpoint ${zpool}/ROOT/default2
331 atf_check -e not-empty -s not-exit:0 zfs get mountpoint \
[all...]
/freebsd-11-stable/etc/
H A Drc.initdiskless81 # temporary mountpoint.
173 # if remount_optional exists under the mountpoint, skip this check.
177 mountpoint="$(lastitem $2)"
178 [ -r $mountpoint/remount_optional ] && ( echo "$2 failed: ignoring due to remount_optional" ; return )
/freebsd-11-stable/contrib/amd/amd/
H A Dsun_map_parse.y220 mountpoints : mountpoint
221 | mountpoint WSPACE mountpoints
224 mountpoint : WORD WSPACE location { label
H A Damq_subr.c265 char *mountpoint; local
279 mountpoint = (mp->am_link ? mp->am_link : mp->am_al->al_mnt->mf_mount);
280 len = strlen(mountpoint);
283 if (!NSTREQ(mountpoint, dir, len))
/freebsd-11-stable/bin/chmod/tests/
H A Dchmod_test.sh30 local mountpoint=$1
32 df -T $mountpoint | tail -n 1 | cut -wf 2

Completed in 225 milliseconds

12