From owner-freebsd-hackers Wed Jan 4 19:06:01 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA08451 for hackers-outgoing; Wed, 4 Jan 1995 19:06:01 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA08431 for ; Wed, 4 Jan 1995 19:05:31 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id TAA07889; Wed, 4 Jan 1995 19:04:19 -0800 From: "Rodney W. Grimes" Message-Id: <199501050304.TAA07889@gndrsh.aac.dev.com> Subject: Re: Replicating system. To: mark@grondar.za (Mark Murray) Date: Wed, 4 Jan 1995 19:04:18 -0800 (PST) Cc: roberto@blaise.ibp.fr, hackers@freebsd.org In-Reply-To: <199501041934.VAA08391@grunt.grondar.za> from "Mark Murray" at Jan 4, 95 09:34:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1155 Sender: hackers-owner@freebsd.org Precedence: bulk > > > > Now - (thinks) How do I best copy the contents of the two disks to the > > > new SCSI? I have done this before by tar-ing to a tape and restoring, > > > but a file or 10 in /var/... got bust. Same for dump-ing to a tape. > > > > cd srcdir; tar cf - . | ( cd /dstdir; tar xvfpB - ) OR > > > > cp -pR . /dstdir > > OK - this short-circuits the tape out of the loop. What happens to files > with multiple links - major waste of disk space? Thats why I suggest cpio, it will retain the links. Tar should too. > > > (I recall that one of the problem files was a socket(?) in > > > /var/run/printer= with mode srwxrwxrwx) > > > > Doesn't matter, /var/run/printer is recreated at each boot as /var/run > > is emptied at boot time. > > Good to know. What is this anyway? (Iknow, the name says it all, but I > cannot fit it into the lpd/lpr/printcap scheme. If its in the man > pages, I'll bloody shoot myself...) It should be opened by lpd, search for PATH_SOCKETNAME in the lpr souces. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD