From owner-freebsd-current Mon Jan 15 20:03:57 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA08336 for current-outgoing; Mon, 15 Jan 1996 20:03:57 -0800 (PST) Received: from vector.jhs.local (slip139-92-42-153.emea.ibm.net [139.92.42.153]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA08322 Mon, 15 Jan 1996 20:03:40 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by vector.jhs.local (8.7.3/8.6.9) with SMTP id SAA15242; Mon, 15 Jan 1996 18:42:31 +0100 (MET) Message-Id: <199601151742.SAA15242@vector.jhs.local> X-Authentication-Warning: vector.jhs.local: Host localhost [127.0.0.1] didn't use HELO protocol To: paul@netcraft.co.uk Cc: phk@freebsd.org, current@freebsd.org Subject: Re: ctm-cvs Reply-To: "Julian H. Stacey" Organization: Vector Systems Ltd. (Internet Unix & C Consultants) Address: Holz Strasse 27d, 80469 Munich, Germany Phone: +49.89.268616 Fax: +49.89.2608126 (pending reconfig) Web: http://www.freebsd.org/~jhs/ Mailer: EXMH version 1.6.5 95 12 11 In-reply-to: Your message of "Mon, 15 Jan 1996 00:29:20 GMT." <199601150029.AAA03263@originat.demon.co.uk> Date: Mon, 15 Jan 1996 18:42:30 +0100 From: "Julian H. Stacey" Sender: owner-current@freebsd.org Precedence: bulk Hi, Reference: > From: Paul Richards > > I really shouldn't have tempted fate since ppp core dumped about an > hour later :-( No problem :-) just keep the partial file, & do something like this: localhost: mv cvs-cur.1500A.gz cvs-cur.1500A.gz.1x ls -l cvs-cur.1500A.gz.1x -rw-r--r-- 1 daemon wheel 12345678 Dec 29 20:09 cvs-cur.1500A.gz.1x dc 12345678 512 / p 24112 dd if=cvs-cur.1500A.gz.1x count=24112 of=cvs-cur.1500A.gz.1 rm cvs-cur.1500A.gz.1x freefall: dd if=cvs-cur.1500A.gz skip=24112 of=cvs-cur.1500A.gz.2 ftp cvs-cur.1500A.gz.2 to localhost localhost: cat cvs-cur.1500A.gz.[12] > cvs-cur.1500A.gz to get : 47140400 cvs-cur.1500A.gz The alternative is of course to use ncftp in append mode, but I've never done that, & would tend to distrust a core dumping program to leave a nice uncorrupted tail on a prematurely truncated file, I suggest if you go the append route, you keep a careful note of your first ls -l size, just in case you need to fall back on dd :-) Julian -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/