From owner-cvs-src@FreeBSD.ORG Thu Sep 23 20:25:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7154F16A4CE; Thu, 23 Sep 2004 20:25:19 +0000 (GMT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B39043D5C; Thu, 23 Sep 2004 20:25:18 +0000 (GMT) (envelope-from des@des.no) Received: from dwp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 20D441EB6; Thu, 23 Sep 2004 22:25:59 +0200 (MEST) Received: by dwp.des.no (Postfix, from userid 2602) id 44C96B85E; Thu, 23 Sep 2004 22:25:17 +0200 (CEST) To: "M. Warner Losh" References: <20040923120543.B72856@xorpc.icir.org> <20040923191538.GG25699@odin.ac.hmc.edu> <20040923.133811.98093041.imp@bsdimp.com> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Thu, 23 Sep 2004 22:25:17 +0200 In-Reply-To: <20040923.133811.98093041.imp@bsdimp.com> (M. Warner Losh's message of "Thu, 23 Sep 2004 13:38:11 -0600 (MDT)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable cc: brooks@one-eyed-alien.net cc: rizzo@icir.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: cvs-src@freebsd.org Subject: Re: cvs commit: src/share/examples/diskless clone_root X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 20:25:19 -0000 "M. Warner Losh" writes: > des@des.no (Dag-Erling Sm=F8rgrav) writes: > > You can easily implement 'touch' with sh and test: > > touch() { > > /bin/test -e "$1" || :>"$1" > > } > doesn't > cat /dev/null >> $1 > do the same thing? probably. purists would use dd instead :) DES --=20 Dag-Erling Sm=F8rgrav - des@des.no