📄 iscsi_umount
字号:
#!/bin/sh# This script umounts file systems associated with UNH iSCSI Disks#UNH_ISCSI_DEV=/opt/unh/iscsi/dev/bin/grep -w ${UNH_ISCSI_DEV} /proc/mounts | \while read MOUNT JUNKdo /sbin/fuser -k -m ${MOUNT} > /dev/null 2>&1 sleep 2 sync /bin/umount -f ${MOUNT}done/bin/grep -w ${UNH_ISCSI_DEV} /proc/swaps | \while read SWAP JUNKdo /sbin/fuser -k -m ${SWAP} > /dev/null 2>&1 /sbin/swapoff ${SWAP}done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -