Date: Thu, 23 Sep 2004 22:25:17 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: "M. Warner Losh" <imp@bsdimp.com> Cc: cvs-src@freebsd.org Subject: Re: cvs commit: src/share/examples/diskless clone_root Message-ID: <xzpu0to20nm.fsf@dwp.des.no> In-Reply-To: <20040923.133811.98093041.imp@bsdimp.com> (M. Warner Losh's message of "Thu, 23 Sep 2004 13:38:11 -0600 (MDT)") References: <20040923120543.B72856@xorpc.icir.org> <20040923191538.GG25699@odin.ac.hmc.edu> <xzpsm98vl6a.fsf@dwp.des.no> <20040923.133811.98093041.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" <imp@bsdimp.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpu0to20nm.fsf>