From owner-freebsd-hackers Sat Feb 3 14:31:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA07955 for hackers-outgoing; Sat, 3 Feb 1996 14:31:34 -0800 (PST) Received: from eac.iafrica.com (slipper101137.iafrica.com [196.7.101.137]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA07950 for ; Sat, 3 Feb 1996 14:31:30 -0800 (PST) Received: (from rnordier@localhost) by eac.iafrica.com (8.6.12/8.6.12) id AAA02072; Sun, 4 Feb 1996 00:30:12 +0200 From: Robert Nordier Message-Id: <199602032230.AAA02072@eac.iafrica.com> Subject: Re: FAT creation code ? To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Sun, 4 Feb 1996 00:30:10 +0200 (SAT) Cc: hackers@freebsd.org In-Reply-To: <199602031838.TAA17717@labinfo.iet.unipi.it> from "Luigi Rizzo" at Feb 3, 96 07:38:01 pm X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk On Sat, 3 Feb 1996, Luigi Rizzo wrote: > Is anyone aware of C source that allows you to create an MSDOS (FAT) > partition on a disk ? mformat prevents you to work on C: and in any > case only works for 12-bit fat entries and small clusters. > > Reason why I am asking, if anyone is interested: we'd like to be > able to clean up the machines in our lab from either FreeBSD or a > boot eprom. We are going to use a modified FreeBSD boot eprom, > with entries which allow to choose which boot method to use. If > the FAT-creation code is sufficiently small, then it can fit on > the eprom as well, together with the code to write a boot sector > on the disk. I'm in the process of revising the msdosfs, and it shouldn't be much trouble to put something together for you, if you can't find anything suitable. Actually did all this in 8088 assembler once, years ago. :-( -- Robert Nordier