Date: Wed, 4 Jan 1995 19:04:18 -0800 (PST) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: mark@grondar.za (Mark Murray) Cc: roberto@blaise.ibp.fr, hackers@freebsd.org Subject: Re: Replicating system. Message-ID: <199501050304.TAA07889@gndrsh.aac.dev.com> In-Reply-To: <199501041934.VAA08391@grunt.grondar.za> from "Mark Murray" at Jan 4, 95 09:34:18 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501050304.TAA07889>