From owner-freebsd-hackers Sat Feb 3 10:37:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA18821 for hackers-outgoing; Sat, 3 Feb 1996 10:37:59 -0800 (PST) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA18815 for ; Sat, 3 Feb 1996 10:37:56 -0800 (PST) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA17717 for hackers@freebsd.org; Sat, 3 Feb 1996 19:38:02 +0100 From: Luigi Rizzo Message-Id: <199602031838.TAA17717@labinfo.iet.unipi.it> Subject: FAT creation code ? To: hackers@freebsd.org Date: Sat, 3 Feb 1996 19:38:01 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk 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. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================