Print this page
8115 parallel zfs mount

*** 23,33 **** # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2016 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib . $STF_SUITE/tests/functional/cli_root/zfs_mount/zfs_mount.cfg --- 23,33 ---- # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2017 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib . $STF_SUITE/tests/functional/cli_root/zfs_mount/zfs_mount.cfg
*** 82,98 **** if [[ ! -d $mntpoint ]]; then log_must mkdir -p $mntpoint fi case "$type" in ! 'ctr') log_must zfs create $pool/$fs ! log_must zfs set mountpoint=$mntpoint $pool/$fs ;; 'vol') log_must zfs create -V $VOLSIZE $pool/$fs ;; ! *) log_must zfs create $pool/$fs ! log_must zfs set mountpoint=$mntpoint $pool/$fs ;; esac return 0 } --- 82,96 ---- if [[ ! -d $mntpoint ]]; then log_must mkdir -p $mntpoint fi case "$type" in ! 'ctr') log_must zfs create -o mountpoint=$mntpoint $pool/$fs ;; 'vol') log_must zfs create -V $VOLSIZE $pool/$fs ;; ! *) log_must zfs create -o mountpoint=$mntpoint $pool/$fs ;; esac return 0 }