Date: Wed, 20 Mar 1996 09:07:08 -0800 (PST) From: Bryan Ogawa at Work <bogawa@netvoyage.net> To: "k.k phang" <phang@cpm.com.my> Cc: questions@freebsd.org Subject: Re: newfs on a floppy disk Message-ID: <Pine.BSF.3.91.960320090425.23831C-100000@digital.netvoyage.net> In-Reply-To: <XFMail.960320123034.phang@cpm.com.my>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Mar 1996, k.k phang wrote: > Can someone out there tell me how to construct a new file system on a > floppy disk? > > This was my attempt, no luck. In fiddling with the COMCONSOLE stuff, I came across the info in /etc/disktab on how to format floppy disks: # # Floppy formats: # # To make a filesystem on a floppy: # fdformat [-f <size>] fd<drive>[.<size>] # disklabel -r -w fd<drive>[.<size>] fd<size> # newfs fd<drive>[.<size>] # > > cluck: {10} disklabel -r -w /dev/rfd1a floppy3 > cluck: {11} newfs /dev/rfd1a > Warning: Block size and bytes per inode restrict cylinders per group to 5. > Warning: 1216 sector(s) in last cylinder unallocated > /dev/rfd1a: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors > 1.4MB in 1 cyl groups (5 c/g, 10.00MB/g, 4448 i/g) > super-block backups (for fsck -b #) at: > 32, You're trying to format a 3.5" 1.44M floppy in drive fd1, right? try: fdfloppy -f 1440 fd1.1440 disklabel -r -w fd1.1440 fd1440 newfs fd1.1440 Other than constant media errors on my fdfloppy (I think something's wrong in my fd configuration or something). bryan > clusk: {12} > > -- > K.K Phang, Software Engineer Computer Protocol > phang@cpm.com.my > http://www.cpm.com.my > Bryan K. Ogawa Questions or Problems with NetVoyage? help@netvoyage.net Check out the NetVoyage HelpWeb at.. <URL: http://www.netvoyage.net/~help/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960320090425.23831C-100000>