Linux LVM users
 help / color / mirror / Atom feed
From: Patrick Caulfield <pcaulfie@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] scripts/clvmd_fix_conf.sh
Date: Wed, 21 Jul 2004 07:45:48 +0100	[thread overview]
Message-ID: <20040721064547.GA17348@tykepenguin.com> (raw)
In-Reply-To: <5.1.0.14.2.20040720145206.038b4008@pop.ncsa.uiuc.edu>

On Tue, Jul 20, 2004 at 02:57:39PM -0500, Guochun Shi wrote:
> 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
> 

Maybe you have an older version of mktemp. Just remove the -t switch. It's only
in there to make it honour varibales like TMPDIR.
-- 

patrick

      reply	other threads:[~2004-07-21  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 19:57 [linux-lvm] scripts/clvmd_fix_conf.sh Guochun Shi
2004-07-21  6:45 ` Patrick Caulfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040721064547.GA17348@tykepenguin.com \
    --to=pcaulfie@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox