NetBSD Problem Report #622
From gnats Thu Dec 8 22:12:20 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id WAA27558 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Thu, 8 Dec 1994 22:12:19 -0800
Message-Id: <199412090614.BAA01039@excalibur.entropic.com>
Date: Fri, 9 Dec 1994 01:14:13 -0500
From: Ken Hornstein <kenh@excalibur.entropic.com>
Reply-To: kenh@entropic.com
To: gnats-bugs@NetBSD.ORG
Subject: There isn't a a man page for the i386 floppy drives
X-Send-Pr-Version: 3.2
>Number: 622
>Category: port-i386
>Synopsis: There isn't a a man page for the i386 floppy drives
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jonathan
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 08 22:20:04 +0000 1994
>Closed-Date: Mon Feb 17 23:32:42 +0000 1997
>Last-Modified: Wed Aug 07 20:53:32 +0000 2002
>Originator: Ken Hornstein
>Release: 1.0
>Organization:
" "
>Environment:
System: NetBSD excalibur 1.0 NetBSD 1.0 (EXCALIBUR) #11: Tue Nov 29 00:54:11 EST 1994 kenh@excalibur:/usr/src/sys/arch/i386/compile/EXCALIBUR i386
>Description:
There isn't a man page for the floppy drives on the i386. This is really
unfortunate, as the different "partitions" tend to confuse people who try to
use them as such.
>How-To-Repeat:
Say "man 4 fd"
>Fix:
Here's a quick man page I wrote. Enjoy.
.\"
.\" Copyright (c) 1994 Ken Hornstein
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by Ken Hornstein
.\" 3. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\"
.Dd December 9, 1994
.Dt fd 4
.Os
.Sh NAME
.Nm fd
.Nd Floppy disk drive and controller
.Sh SYNOPSIS
.Cd "controller fdc0 at isa? port" \&"IO_FD1\&" irq 6 drq 2
.Cd "disk fd0 at fdc0 drive ?"
.Cd "disk fd1 at fdc0 drive ?"
.Sh DESCRIPTION
The
.Nm fd
device driver provides an interface to the standard floppy disk drives
found on the IBM PC. Up to four drives may exist on one controller, but
in practice only two are used. The floppy devices get their "default"
density from the value set in the PC BIOS.
.Pp
Although the floppy devices have the same lettering scheme as hard disk
partitions, the drive letters refer to different media densities as opposed
to partitions. The mapping of device names to media densities is as follows:
.Bl -tag -width xxxxxxxxxxxx
.It /dev/[r]fdXa
The "default" density as determined at probe time.
.It /dev/[r]fdXb
1.44MB diskette in 1.44MB (3.5") drive
.It /dev/[r]fdXc
1.2MB diskette in 1.2MB (5.25") drive
.It /dev/[r]fdXd
360kB diskette in 1.2MB (5.25") drive
.It /dev/[r]fdXe
360kB PC diskette
.It /dev/[r]fdXf
720kB diskette in 3.5" drive
.It /dev/[r]fdXg
720kB diskette in 1.2MB (5.25") drive
.It /dev/[r]fdXh
360kB diskette in a 720kB drive
.El
.Pp
.Sh NOTES
There doesn't seem to be a good way to determine media type without simply
trying different densities in rotation.
.Pp
The mode bits returned from the error messages aren't very useful unless you
know how floppy drives work.
.Pp
.Sh DIAGNOSTICS
fdX: soft error: ...
.in +4
The drive has encountered a non-fatal error
.in -4
fdX: hard error: ...
.in +4
The drive has encountered a fatal error
.in -4
.Sh BUGS
There should be a way to do a low-level format from NetBSD.
.Sh SEE ALSO
.Xr disklabel 8 ,
.Xr newfs 8 ,
.Xr mount_msdos 8
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Tue Dec 13 00:29:02 1994
State-Changed-Why:
Probably needs to be integrated as fdc or something, since fd(4) is already
used by /dev/fd/*.
Responsible-Changed-From-To: gnats-admin->jtc
Responsible-Changed-By: jtc
Responsible-Changed-When: Tue Dec 13 00:30:16 1994
Responsible-Changed-Why:
I'll integrate these at the same time as jimj's manpages.
Responsible-Changed-From-To: jtc->jonathan
Responsible-Changed-By: jonathan
Responsible-Changed-When: Mon Feb 17 15:30:26 1997
Responsible-Changed-Why:
JTC never integrated this...
From: Jonathan Stone <jonathan@netbsd1.cygnus.com>
To: J.T.Conklin <jtc@NetBSD.ORG>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-i386/622: There isn't a a man page for the i386 floppy drives
Date: 17 Feb 1997 23:25:54 -0000
`Jonathan Stone' made changes to this PR.
--- /tmp/gnats011190 Mon Feb 17 15:24:45 1997
+++ /tmp/gnatsa11190 Mon Feb 17 15:25:00 1997
@@ -17,7 +17,7 @@
>Severity: serious
>Priority: medium
>Responsible: jtc
->State: analyzed
+>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 8 22:20:04 1994
superseded by John T. Kohl's manpage that also describes the
fdformat(8) formatting added in NetBSD 1.2B.
From: Jonathan Stone <jonathan@netbsd1.cygnus.com>
To: kenh@entropic.com
Cc: gnats-bugs@NetBSD.ORG
Subject: Re: port-i386/622: There isn't a a man page for the i386 floppy drives
Date: 17 Feb 1997 23:26:48 -0000
superseded by John T. Kohl's manpage that also describes the
fdformat(8) formatting added in NetBSD 1.2B.
From: Jonathan Stone <jonathan@netbsd1.cygnus.com>
To: J.T.Conklin <jtc@NetBSD.ORG>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-i386/622: There isn't a a man page for the i386 floppy drives
Date: 17 Feb 1997 23:27:42 -0000
`Jonathan Stone' made changes to this PR.
--- /tmp/gnats011190 Mon Feb 17 15:26:01 1997
+++ /tmp/gnatsa11190 Mon Feb 17 15:27:35 1997
@@ -152,7 +152,3 @@
I'll integrate these at the same time as jimj's manpages.
>Unformatted:
-
-
-
-
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.