*BSD News Article 12421


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!pacbell.com!unet!blunt!dsilvia
From: dsilvia@blunt.net.com (Dave Silvia)
Subject: Re: Format Floopy..Make file system
Message-ID: <1993Mar7.203026.11132@unet.net.com>
Sender: news@unet.net.com
Nntp-Posting-Host: blunt
Organization: Network Equipment Technologies
References: <1nbl78INNt7f@escargot.xx.rmit.OZ.AU>
Date: Sun, 7 Mar 1993 20:30:26 GMT
Lines: 38

In article <1nbl78INNt7f@escargot.xx.rmit.OZ.AU> s913543@minyos.xx.rmit.OZ.AU (Joe Demian) writes:
>Um... I was wondering if someone could tell me how I can simply
>format a floppy disk in 386bsd format in order to create a file system
>on a: or b: ... (excuse the ignorance) :)
>
>Any help will be appreciated.
>

Sure!  Depending on what type of floppy drive.  I have both a 1.2 and a 1.44.
There is an entry already in /etc/disktab for the 1.44.  You can clone it for
the 1.2. (or maybe it's the other way around?  Oh, well, it amounts to the
same thing ;^} ).  Here's how the entries look on my machine:

floppy|floppy3|3in|3.5in High Density Floppy:\
   :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
   :pa#2880:oa#0:ba#4096:fa#512:

floppy5|5in|5.25in High Density Floppy:\
   :ty=floppy:se#512:nt#2:rm#300:ns#15:nc#80:\
   :pa#2400:oa#0:ba#4096:fa#512:

Now, place a diskette in the drive and execute:

	newfs /dev/rfd0a floppy

for a: 1.44 drive:

	newfs /dev/rfd1a floppy

for b: 1.44 drive.

You would do similarly for a 1.2 drive using floppy5.

Once newfs'd, I mount the floppy and go! E.G.:

	mount /dev/fd1a /mnt

Dave S.