*BSD News Article 55777


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!Germany.EU.net!wizard.pn.com!sundog.tiac.net!kolvir.arlington.ma.us!jtk
From: jtk@kolvir.arlington.ma.us (John Kohl)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: mtools: mapping of floppy devices
Date: 24 Nov 1995 18:48:54 GMT
Organization: NetBSD Kernel Hackers `R` Us
Lines: 26
Message-ID: <49542m$9hf@sundog.tiac.net>
References: <5xtE1bYJo$B@rimki.toppoint.de>
	<DIG63o.CBI.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
NNTP-Posting-Host: jtk.tiac.net
In-reply-to: st@epcc.ed.ac.uk's message of Wed, 22 Nov 1995 13:42:55 GMT

>>>>> "Scott" == Scott Telford <st@epcc.ed.ac.uk> writes:
In article <DIG63o.CBI.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk> st@epcc.ed.ac.uk (Scott Telford) writes:

Scott> From the 386BSD FAQ:

Scott>             /dev/fd0a   1       /* 1.44MB diskette */ 
Scott>             /dev/fd0b   2       /* 1.2 MB AT-diskettes */ 
Scott>             /dev/fd0c   3       /* 360kB in 1.2MB drive */ 
Scott>             /dev/fd0d   4       /* 360kB PC diskettes */ 
Scott>             /dev/fd0e   5       /* 3.5" 720kB diskette */ 
Scott>             /dev/fd0f   6       /* 720kB in 1.2MB drive */ 
Scott>             /dev/fd0g   7       /* 360kB in 720kB drive */

This is wrong (it's off by one).  Dave Burgess, if you're listening,
please update the FAQ.

/dev/fd0a is the default drive density (depends on diskette drive type).
/dev/fd0b is 1.44MB 3.5"
/dev/fd0c is ...
/dev/fd0g is 720kb 1.2MB drive
/dev/fd0h is 360kb in 720k drive

See /sys/arch/i386/isa/fd.c:fd_dev_to_type()
-- 
John Kohl <jtk@kolvir.arlington.ma.us>
Hacking on NetBSD/i386 when I can.  See <URL:http//www.netbsd.org/>.