From owner-freebsd-hackers Wed Mar 18 14:18:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA06327 for freebsd-hackers-outgoing; Wed, 18 Mar 1998 14:18:22 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from wcc.wcc.net (wcc.wcc.net [208.6.232.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA06272 for ; Wed, 18 Mar 1998 14:18:11 -0800 (PST) (envelope-from piquan@wcc.wcc.net) Received: from detlev.UUCP (newip32.wcc.net [206.104.247.32]) by wcc.wcc.net (8.8.8/8.8.8) with ESMTP id QAA15384; Wed, 18 Mar 1998 16:13:48 -0600 (CST) Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id QAA07278; Wed, 18 Mar 1998 16:17:41 -0600 (CST) (envelope-from joelh) Date: Wed, 18 Mar 1998 16:17:41 -0600 (CST) Message-Id: <199803182217.QAA07278@detlev.UUCP> To: hoek@hwcn.org CC: Studded@dal.net, hoek@hwcn.org, freebsd-hackers@FreeBSD.ORG In-reply-to: (message from Tim Vanderhoek on Tue, 17 Mar 1998 23:24:45 -0500 (EST)) Subject: Re: bin/6039 From: Joel Ray Holveck Reply-to: joelh@gnu.org References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Is it possible to fix something up so that fdimage won't try to write >> the image if it wasn't transferred in binary mode? This would eliminate >> about 80% of the questions about this in -questions. > Offhand, I imagine it would be trivial. Hmm... I see four ways: a) changing the file format (clearly the Wrong Thing) b) adding a separate CRC file (not a bad idea, that) c) scanning for any bare newlines, and warning if it's not there (hmmmm... possibly good, I'd like to calculate the probability of there being bare newlines present) d) verifying that the file size is exactly 1 disk. If that's the case, then such a patch would be marvelous. > Why is it that so many people transfer it in ascii mode? Are there still OS's being released with an ftp that use ascii as the default for all files? -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message