From owner-freebsd-questions Mon Nov 17 13:42:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA17661 for questions-outgoing; Mon, 17 Nov 1997 13:42:40 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from clio.rice.edu (clio.rice.edu [128.42.105.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA17656 for ; Mon, 17 Nov 1997 13:42:38 -0800 (PST) (envelope-from keyser@clio.rice.edu) Received: by clio.rice.edu (AIX 3.2/UCB 5.64/4.03) id AA15307; Mon, 17 Nov 1997 15:44:30 -0600 Date: Mon, 17 Nov 1997 15:44:30 -0600 From: keyser@clio.rice.edu (Kevin Keyser) Message-Id: <9711172144.AA15307@clio.rice.edu> To: ptroy@mail.hq.nasa.gov Subject: Re: Reading the contents of a floppy drive in unix Cc: questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Using BSD how do I do it? The raw floppy device is accessed via /dev/rfd0 (second drive would be rfd1). For example, one might use the dd utility to create an image file from a 1.44M floppy "dd if=/dev/rfd0 of=image.flp bs=36b". If the floppy has a filesystem, you can mount it... mount /dev/fd0 /mnt (if it is ufs) mount_msdos /dev/fd0 /mnt (if it is MSDOS(FAT)) in order to access its file and directory structure. See also the man pages for these commands and remember to umount before removing it from the drive! Kevin