scripts/clvmd_fix_conf.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

in this script line 47-48
SCRIPTFILE=`mktemp -t lvmscript.XXXXXXXXXX`
TMPFILE=`mktemp -t lvmtmp.XXXXXXXXXX`

but mktemp does not have -t option. It complains when I run the script

[LVM2]#  scripts/clvmd_fix_conf.sh  /lib
mktemp: invalid option -- t
Usage: mktemp [-d] [-q] [-u] template
mktemp: invalid option -- t
Usage: mktemp [-d] [-q] [-u] template
scripts/clvmd_fix_conf.sh: line 127: $SCRIPTFILE: ambiguous redirect
scripts/clvmd_fix_conf.sh: line 128: $TMPFILE: ambiguous redirect
sed failed, /etc/lvm/lvm.conf not updated

please help, thanks
-Guochun

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux