From owner-freebsd-questions@freebsd.org Wed Mar 29 10:15:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C54E0D22668 for ; Wed, 29 Mar 2017 10:15:24 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm7-vm2.bullet.mail.ir2.yahoo.com (nm7-vm2.bullet.mail.ir2.yahoo.com [212.82.96.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41AC36C6F8 for ; Wed, 29 Mar 2017 10:15:23 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1490782521; bh=OieqcKBjp6Z7o20GJ2BXFKOoVlmAUeKNPC22025LPwk=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=Xr1tRO8/qGqn0twP0xVn8x7eTOWLjbFHPCcaNqazSBAY+PyH4YXfW6WfzALrAAyrr7E5TCKn+nsi0/ViDxwXMvGr42t01IXRBQI1g569k04OYf1CR7/fjZMC3LI/oLC0bxI6a211laf58l06gjYwP3IRLU3nbp8nONPCPrbhrP3kOcUrHCa/lJCAnfQh2rJ8lsW/hov+n9HbLSDZeSpjgkirJmwxkNqVUBuhuydTI6Skz8/Xpa8ksaSYy9W6sERrYbv98eA6ZO22AAguHZaJaIPUgjezU3qnZRCVcEnSj4Nsoqcf5f1H1V+UoHD/RfKoklGS55ucUebCm+SdNwiaMg== Received: from [212.82.98.52] by nm7.bullet.mail.ir2.yahoo.com with NNFMP; 29 Mar 2017 10:15:21 -0000 Received: from [46.228.39.112] by tm5.bullet.mail.ir2.yahoo.com with NNFMP; 29 Mar 2017 10:15:21 -0000 Received: from [127.0.0.1] by smtp149.mail.ir2.yahoo.com with NNFMP; 29 Mar 2017 10:15:20 -0000 X-Yahoo-Newman-Id: 990560.80680.bm@smtp149.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: eVUfA0wVM1kIiRxp6C7ivvpcUt9rniejKiGypaonjzMQ4.C qxoEomFDEARX4Mm7mOAGDMAQ3BK8FsotSphHyjo46nQw16sSjZqAQPVGf07k r8o5va25enUQ7QnKi79NGZb7cHcdyNhHGGOnre5fT1xseRzfFn8TCQP2FQHB QAERxRsviYtj7T.GJHz_u_X3WYGEbOUW9v.90K1YXkP68OVnm..iIAfUHs_r e84jbTJjEDDhBS_geQJ2xoLHW8m4qFw5B66oQyT8BYpFsMeeIiJ5533w0C2L 4iEWV2zAslRwXZYBuoncxv09efeX6BTtfwDZ_LpcsF101Fg5zlhoqkrydCaM tusC9f9QWrdmxntT2QnaUqAfVGs8eUjSR80CCVtJRQEM6kjMEYiSKGlTlF4P X3Hd8lPAym_nd5kFA6vq58D1yTIM9rpm95E5xDfrcCFqvpp2VJSMvJXerJ3q 66Wf53hDrNP5BUOd0e4ljmvyUjRgYkpF5cHwybukuojoryey8ttEJd7o9rYB ZB9DOnXkLT4r5JGGcLx3NEdbYKJrbfQWDKNEk6oIruswZouBebVI7cY_Rc02 daXgn9631OyZ7M_63hFeQ29gBVIU- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Wed, 29 Mar 2017 12:15:19 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Two pf questions Message-ID: <20170329121519.64b1d778@moonstudio> In-Reply-To: <1490755142.1981.82.camel@au.dyndns.ws> References: <20170327170941.59c84eec@archlinux.localdomain> <20170327171959.405bbfbb@archlinux.localdomain> <20170328111655.121ede18@archlinux.localdomain> <20170328111959.400d4761@archlinux.localdomain> <20170328113501.2a5ebf60@archlinux.localdomain> <20170328114541.0ca0d084@archlinux.localdomain> <20170328202936.74ed1741@archlinux.localdomain> <1490755142.1981.82.camel@au.dyndns.ws> X-Mailer: Claws Mail 3.15.0-3-g8819fe (GTK+ 2.24.30; x86_64-ubuntu-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 10:15:24 -0000 On Wed, 29 Mar 2017 13:09:02 +1030, Wayne Sierke wrote: >Is there any reason that mktemp(1) is not adequate here, or not >desireable? Since portability isn't a concern I don't think there is a reason, I just wasn't aware of http://www.unix.com/man-page/FreeBSD/1/mktemp/. The whole point is to make a file in /tmp unique, what ever the OP wants to use to archive this. However, I already mentioned "or something else unique" and provided ^^ just examples. Is there something inadequate with giving examples?