xfs
[Top] [All Lists]

Re: snapshot regression test try 2

To: xfs mailing list <linux-xfs@xxxxxxxxxxx>
Subject: Re: snapshot regression test try 2
From: Scott McDermott <mcdermot@xxxxxxxxxxx>
Date: Fri, 30 Aug 2002 03:57:28 -0400
In-reply-to: <20020829232659.F17654@xxxxxxxxxxxxxxx>; from erbenson@xxxxxxxxxx on Thu, Aug 29, 2002 at 11:26:59PM -0800
Mail-followup-to: xfs mailing list <linux-xfs@xxxxxxxxxxx>
References: <20020829232620.LRFR28682.imf05bis.bellsouth.net@TAZ2> <20020829232659.F17654@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Ethan Benson on Thu 29/08 23:26 -0800:
> you can argue that im being pedantic and the lack of quoting will
> probably not matter in this script, but in some cases its just too
> dangerous not to.

nahh, for instance mktemp will never give you spaces or anything like
that.  Why quote when you can always guarantee you don't need to?  I
think scripts which quote everything just to be safe for no reason are
silly.  Not that every case in the script was like that.

> also you should never assume that there are not hostile users messing
> with /tmp.

yeah PID is too predictable, plus it wraps


<Prev in Thread] Current Thread [Next in Thread>