cvs commit: src/share/examples/diskless clone_root

Dag-Erling Smørgrav des at des.no
Thu Sep 23 13:25:19 PDT 2004


"M. Warner Losh" <imp at bsdimp.com> writes:
> des at des.no (Dag-Erling Smørgrav) 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list