From owner-freebsd-bugs Tue Oct 31 22:13:37 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA24196 for bugs-outgoing; Tue, 31 Oct 1995 22:13:37 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA24166 for ; Tue, 31 Oct 1995 22:13:29 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id RAA17920; Wed, 1 Nov 1995 17:09:38 +1100 Date: Wed, 1 Nov 1995 17:09:38 +1100 From: Bruce Evans Message-Id: <199511010609.RAA17920@godzilla.zeta.org.au> To: freebsd-bugs@freefall.freebsd.org, luigi@labinfo.iet.unipi.it Subject: Re: misc/804: fdformat - patch to add DOS-filsystem Sender: owner-bugs@FreeBSD.org Precedence: bulk > > I added an option (-D) to write a dos-filesystem to the floppies. > > The changes are based on msdosfs and mformat (mtools). > > hmmm... > > I don't like very much the idea of duplicating code (and possibly > have to mantain multiple copies). Why don't you just make fdformat > invoke mformat with the appropriate (possibly configurable) arguments fdformat has nothing to do with soft formatting. It doesn't duplicate newfs or exec newfs and it shouldn't duplicate mformat or exec mformat. OTOH, supported file systems should be supported by standard utilities (not mtools). I usually soft-format DOS floppies using `zcat fs1440.gz >/dev/rfd0' where fs1440.gz is a a compressed copy of the first 18k of a previously freshly formatted 1440K floppy. Bruce