mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
2f71caf2d9
Allow `zfs unshare <protocol> -a` command to share or unshare all datasets of a given protocol, nfs or smb. Additionally, enable most of ZFS Test Suite zfs_share/zfs_unshare test cases. To work around some Illumos-specific functionalities ($SHARE/$UNSHARE) some function wrappers were added around them. Finally, fix and issue in smb_is_share_active() that would leave SMB shares exported when invoking 'zfs unshare -a' Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Signed-off-by: loli10K <ezomori.nozomu@gmail.com> Closes #3238 Closes #5367
131 lines
3.0 KiB
INI
131 lines
3.0 KiB
INI
export AWK="@AWK@"
|
|
export BLOCKDEV="@BLOCKDEV@"
|
|
export BASENAME="@BASENAME@"
|
|
export BC="@BC@"
|
|
export BUNZIP2="@BUNZIP2@"
|
|
export BZCAT="@BZCAT@"
|
|
export CAT="@CAT@"
|
|
export CD="@CD@"
|
|
export CHACL="@CHACL@"
|
|
export CHGRP="@CHGRP@"
|
|
export CHMOD="@CHMOD@"
|
|
export CHOWN="@CHOWN@"
|
|
export CKSUM="@CKSUM@"
|
|
export CMP="@CMP@"
|
|
export COMPRESS="@COMPRESS@"
|
|
export COREADM="@COREADM@"
|
|
export CP="@CP@"
|
|
export CPIO="@CPIO@"
|
|
export CUT="@CUT@"
|
|
export DATE="@DATE@"
|
|
export DD="@DD@"
|
|
export DF="@DF@"
|
|
export DIFF="@DIFF@"
|
|
export DIRCMP="@DIRCMP@"
|
|
export DIRNAME="@DIRNAME@"
|
|
export DU="@DU@"
|
|
export DUMPADM="@DUMPADM@"
|
|
export ECHO="@ECHO@"
|
|
export EGREP="@EGREP@"
|
|
export FALSE="@FALSE@"
|
|
export FDISK="@FDISK@"
|
|
export FGREP="@FGREP@"
|
|
export FILE="@FILE@"
|
|
export FIND="@FIND@"
|
|
export FIO="@FIO@"
|
|
export FORMAT="@FORMAT@"
|
|
export FREE="@FREE@"
|
|
export FSCK="@FSCK@"
|
|
export GETENT="@GETENT@"
|
|
export GETFACL="@GETFACL@"
|
|
export GETMAJOR="@GETMAJOR@"
|
|
export GNUDD="@GNUDD@"
|
|
export GREP="@GREP@"
|
|
export GROUPADD="@GROUPADD@"
|
|
export GROUPDEL="@GROUPDEL@"
|
|
export GROUPMOD="@GROUPMOD@"
|
|
export HEAD="@HEAD@"
|
|
export HOSTNAME="@HOSTNAME@"
|
|
export ID="@ID@"
|
|
export IOSTAT="@IOSTAT@"
|
|
export KILL="@KILL@"
|
|
export KSH="@KSH@"
|
|
export KSTAT="@KSTAT@"
|
|
export LOCKFS="@LOCKFS@"
|
|
export LOFIADM="@LOFIADM@"
|
|
export LOGNAME="@LOGNAME@"
|
|
export LS="@LS@"
|
|
export LSBLK="@LSBLK@"
|
|
export MD5SUM="@MD5SUM@"
|
|
export MKDIR="@MKDIR@"
|
|
export MKNOD="@MKNOD@"
|
|
export MKTEMP="@MKTEMP@"
|
|
export MNTTAB="@MNTTAB@"
|
|
export MODINFO="@MODINFO@"
|
|
export MODUNLOAD="@MODUNLOAD@"
|
|
export MOUNT="@MOUNT@"
|
|
export MPSTAT="@MPSTAT@"
|
|
export MV="@MV@"
|
|
export NAWK="@AWK@"
|
|
export NET="@NET@"
|
|
export NEWFS="@NEWFS@"
|
|
export NPROC="@NPROC@"
|
|
export PAGESIZE="@PAGESIZE@"
|
|
export PFEXEC="@PFEXEC@"
|
|
export PGREP="@PGREP@"
|
|
export PING="@PING@"
|
|
export PKGINFO="@PKGINFO@"
|
|
export PKILL="@PKILL@"
|
|
export PRINTF="@PRINTF@"
|
|
export PRTVTOC="@PRTVTOC@"
|
|
export PS="@PS@"
|
|
export PSRINFO="@PSRINFO@"
|
|
export PYTHON="@PYTHON@"
|
|
export READLINK="@READLINK@"
|
|
export REBOOT="@REBOOT@"
|
|
export RM="@RM@"
|
|
export RMDIR="@RMDIR@"
|
|
export RSH="@RSH@"
|
|
export SED="@SED@"
|
|
export SETFACL="@SETFACL@"
|
|
export SHARE="@SHARE@"
|
|
export SHUF="@SHUF@"
|
|
export SLEEP="@SLEEP@"
|
|
export SORT="@SORT@"
|
|
export STAT="@STAT@"
|
|
export STRINGS="@STRINGS@"
|
|
export SU="@SU@"
|
|
export SUM="@SUM@"
|
|
export SVCADM="@SVCADM@"
|
|
export SVCS="@SVCS@"
|
|
export SWAP="@SWAP@"
|
|
export SWAPADD="@SWAPADD@"
|
|
export SYNC="@SYNC@"
|
|
export TAIL="@TAIL@"
|
|
export TAR="@TAR@"
|
|
export TIMEOUT="@TIMEOUT@"
|
|
export TOUCH="@TOUCH@"
|
|
export TR="@TR@"
|
|
export TRUNCATE="@TRUNCATE@"
|
|
export TRUE="@TRUE@"
|
|
export UDEVADM="@UDEVADM@"
|
|
export UFSDUMP="@UFSDUMP@"
|
|
export UFSRESTORE="@UFSRESTORE@"
|
|
export UMASK="@UMASK@"
|
|
export UMOUNT="@UMOUNT@"
|
|
export UMOUNTALL="@UMOUNTALL@"
|
|
export UNAME="@UNAME@"
|
|
export UNCOMPRESS="@UNCOMPRESS@"
|
|
export UNIQ="@UNIQ@"
|
|
export UNSHARE="@UNSHARE@"
|
|
export USERADD="@USERADD@"
|
|
export USERDEL="@USERDEL@"
|
|
export USERMOD="@USERMOD@"
|
|
export UUIDGEN="@UUIDGEN@"
|
|
export VMSTAT="@VMSTAT@"
|
|
export WAIT="@WAIT@"
|
|
export WC="@WC@"
|
|
export ZONEADM="@ZONEADM@"
|
|
export ZONECFG="@ZONECFG@"
|
|
export ZONENAME="@ZONENAME@"
|