From owner-freebsd-newbies Thu Jan 10 15: 9: 1 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from operamail.com (operamail.infinite.com [199.29.68.126]) by hub.freebsd.org (Postfix) with ESMTP id 9ED2D37BB7C for ; Thu, 10 Jan 2002 15:06:36 -0800 (PST) X-WM-Posted-At: operamail.com; Thu, 10 Jan 02 18:06:18 -0500 X-WebMail-UserID: leegold Date: Thu, 10 Jan 2002 18:06:18 -0500 From: leegold To: Randy Pratt Cc: freebsd-newbies@freebsd.org X-EXP32-SerialNo: 00000000 Subject: RE: how to make ms_dos floppy? Message-ID: <3C3EFCC3@operamail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.62 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sorry to top post. Whoa, there's a lot of cmds below. Shouldn't it just be: 1) lowlevel format with fdformat 2) create ms dos (fat12) file system with newfs_msdos The man pages are brutal for me to understand. I will give it a try. Thanks. >Also, note that the "mformat" command referred to on that same page is not >Take a look at "man newfs_msdos". It has an example command for creating an >msdos filesystem on a formatted floppy disk. Just follow the operations >described in the book on pages 286-288 and substitute "newfs_msdos" for >"newfs". Here's a typical scenario for creating/using an msdos floppy disk: > >k6-2# /dev/rfd0 >Format 1440K floppy `/dev/rfd0'? (y/n): y >Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. > >k6-2# disklabel -w -r /dev/rfd0 fd1440 > >k6-2# newfs_msdos -f 1440 -L foo fd0 >/dev/fd0: 2847 sectors in 2847 FAT12 clusters (512 bytes/cluster) >bps=512 spc=1 res=1 nft=2 rde=224 sec=2880 mid=0xf0 spf=9 spt=18 hds=2 hid=0 > >k6-2# mount -t msdos /dev/fd0 /mnt > >k6-2# cd /mnt > >k6-2# cp /usr/home/rpratt/somenotes.txt ./ > >k6-2# ls -l >total 1 >-rwxr-xr-x 1 root wheel 168 Jan 10 14:05 somenote.txt > >k6-2# cd /usr/home/rpratt > >k6-2# umount /mnt (you can't umount if you're in the /mnt directory) > >You can now take the floppy and read/write to it in a windows/dos environment. > >This should get you going. > >Randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message