Date: Thu, 10 Jan 2002 18:06:18 -0500 From: leegold <leegold@operamail.com> To: Randy Pratt <rpratt@ezwv.com> Cc: freebsd-newbies@freebsd.org Subject: RE: how to make ms_dos floppy? Message-ID: <3C3EFCC3@operamail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3EFCC3>