From owner-freebsd-questions Fri Feb 2 09:06:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA01305 for questions-outgoing; Fri, 2 Feb 1996 09:06:47 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA01234 for ; Fri, 2 Feb 1996 09:06:30 -0800 (PST) Received: from btp1da.phy.uni-bayreuth.de (btp1da.phy.uni-bayreuth.de [132.180.20.32]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id EAA06380 for ; Fri, 2 Feb 1996 04:04:38 -0800 Received: (from root@localhost) by btp1da.phy.uni-bayreuth.de (8.6.12/8.6.12) id NAA17045; Fri, 2 Feb 1996 13:00:27 +0100 Message-Id: <199602021200.NAA17045@btp1da.phy.uni-bayreuth.de> Subject: Re: newbie : How write to DOS Floppy ? To: stevt@digitalweb.com (Steve Tan) Date: Fri, 2 Feb 1996 13:00:26 +0100 (MET) From: "Werner Griessl" Cc: questions@FreeBSD.org In-Reply-To: <199602020101.RAA06440@iceland.it.earthlink.net> from "Steve Tan" at Feb 1, 96 05:01:25 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org Precedence: bulk > > Hi, > > I'm not sure if this is the right place to ask, but I'm > trying to figure out how to write files to a DOS disk, my > floppy drive. I didn't see any info in the FAQ's or > installation guides. > > I believe I need to mount /dev/fd0 or /dev/rmt0 , but I can't > find the specific command to use. > > I'm using BSD to develop CGI perl scripts and need to transfer > them to a PC running Win95. > > Any help would be greatly appreciated. > > Steve > > Use "mount -t msdos /dev/fd0a /mnt" to mount a dos-floppy. Do'nt forget to unmount the floppy before removing it with "umount /mnt" . You can also use the "mtools" from the ports or package-distribution. Look into the manpages for mread and mwrite ! Werner