Lines Matching refs:mountpoint

463 	typeset dsn mountpoint
465 /usr/sbin/zfs list -H -o name,mountpoint "$path" 2>/dev/null | \
466 IFS=$'\t' read dsn mountpoint
467 [[ -z $dsn || -z $mountpoint ]] && return 1
469 # If mountpoint=legacy, consult /etc/mnttab.
470 if [[ $mountpoint == legacy ]]; then
471 mountpoint=$(nawk -F$'\t' -v "dsn=$dsn" \
473 [[ -z $mountpoint ]] && return 1
476 [[ $mountpoint -ef $path ]] || return 1
529 zfs create -o zoned=on -o mountpoint=/rpool \
537 zfs_set mountpoint=/rpool ds || return 1
559 zfs create -o canmount=noauto -o mountpoint=legacy \
567 for prop in canmount=noauto mountpoint=legacy; do
578 zfs create -o mountpoint=/export "${zone.rpool_ds}/export" || {
664 # mountpoint=/ is safe because create_zone_rpool verifies zoned=on
668 set -A be_props -- -o canmount=noauto -o mountpoint=/
707 zfs create -o mountpoint="/$child" -o canmount=noauto \
1385 # - zoned, mountpoint, canmount will have been set properly
1485 zfs set mountpoint=/ $topdsn ||
1659 if ! zfs create -o mountpoint=/export "${zone.rpool_ds}/export"
1702 mntpt=$(zfs list -H -o mountpoint "$dsn") || return 1
1762 # Fix mountpoint .../zbe-0/var -> /var
1763 zfs set mountpoint=${dsn#$be_dsn} "$dsn" || return 1
1821 # Fix mountpoint and other properties for ZBEs detached using the
1938 /usr/sbin/zfs list -H -o name,mountpoint -r -d 1 "${zone.ROOT_ds}" \
1975 mountpt=${dss.props[mountpoint].value}
1980 # Make mountpoint relative to BE root
2015 # points, the persistent mountpoint property is hidden.
2021 ! zfs_set mountpoint=legacy rootds; then
2373 for prop in mountpoint canmount; do
2435 # print "${dss.name} mounted at ${dss.props[mountpoint].value}"
2440 # dss.props[mountpoint].value=/rpool
2441 # dss.props[mountpoint].source=local
2717 # fix_ds_mountpoint dataset mountpoint
2719 # Updates the dataset's mountpoint, zoned, and canmount properties so that the
2729 # mountpoint The new value for the mountpoint property. For zoned datasets
2741 typeset mountpoint="$2"
2747 if [[ "${dss.props[mountpoint].value}" == "$mountpoint" && \
2754 # mountpoint from zfs(1M) is a bit of a problem:
2763 # relative to the zone root. The mountpoint property
2766 # to fix a mountpoint in a running zone.
2767 # ii) It is not mounted and the mountpoint can be trusted.
2780 # We can't fix the mountpoint on a mounted dataset without causing
2783 if [[ "${dss.props[mountpoint].value}" == mounted ]]; then
2789 "${dss.props[mountpoint].value}" "$mountpoint"
2821 # Now that we are sure that mucking with the mountpoint won't cause
2822 # mounts in the global zone, update the mountpoint property.
2824 if [[ "${dss.props[mountpoint].value}" != "$mountpoint" ]]; then
2825 zfs_set mountpoint="$mountpoint" dss || return 1
2836 # zfs_tmpmount dataset mountpoint
2838 # Mount the specified dataset using a ZFS temporary mount. The mountpoint
2839 # is created if necessary. The zfs mountpoint property must not be "legacy"
2853 # mountpoint The place where it gets mounted.
2863 zfs mount -o nodevices,mountpoint="$dir" "$dsname" || {
2871 # mount_be_ds -r root [-m mountpoint] dataset_structure_name
2875 # -m mountpoint The place where the dataset will be mounted,
2877 # the mountpoint property in the dataset are
2879 # have its mountpoint set to this value.
2880 # -r root The root of the the zone. This plus mountpoint
2881 # (or mountpoint property on dataset) determines
2919 # Temporary mounts hide the persistent value of the mountpoint
2923 if [[ "${dss.props[mountpoint].source}" == temporary ]]; then
2925 && "${dss.props.[mountpoint].value}" == "$root"/* ]]; then
2935 # Fix up the mountpoint, zoned, and canmount properties
2938 mntpt="${dss.props[mountpoint].value}"
2952 # mount_be -c root_dataset mountpoint
2954 # Mounts the specified boot environment at the specified mountpoint.
2956 # have canmount=noauto and a path as a mountpoint are mounted.
2998 # Be sure mountpoint and canmount are OK. Informational
3002 typeset dir="${dsa[$line].dss.props[mountpoint].value}"
3032 if [[ ${dsa[$rootds].dss.props[mountpoint].value} != "$root" \
3113 # get the persistent mountpoint property out of zfs(1M).
3250 zfs list -H -o name,mountpoint "$line" 2>/dev/null
3979 e_ds_mnt_multiply_defined=$(gettext "Error: multiple datasets list %s as mountpoint.")
3993 e_no_mntpt_change_for_mounted=$(gettext "Error: Cannot change mountpoint because %s is mounted")
4032 m_fix_ds_mountpoint=$(gettext "Changing mountpoint of dataset %s from %s to %s.")
4033 m_not_mounting_mountpoint=$(gettext "Not mounting %s because mountpoint is '%s'.")