*BSD News Article 9929


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6819 ; Fri, 15 Jan 93 10:36:16 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!noc.near.net!news.bbn.com!bbn.com!blackett
From: blackett@bbn.com (Kent Blackett)
Newsgroups: comp.unix.bsd
Subject: [386bsd] Trouble with disklabel & floppies
Date: 15 Jan 1993 18:31:50 GMT
Lines: 27
Message-ID: <lle0omINNrnf@news.bbn.com>
NNTP-Posting-Host: bbn.com

I'm having trouble using "disklabel" to initialize floppies.  These are
formatted floppies, both 3.5 and 5.25.  I have duplicated the symptom on two
machines (both 486s, one with IDE controller, other with SCSI only) and with
two different kernels, namely the fixit disk and the current "rachel" kernel.)
Also, the symptom is tame whether using 3.5 or 5.25 floppies.

OK, enough background.  Now on to the problem.  It seems I can boot from a
floppy, mount a floppy, dd to or from a floppy, but I can't disklabel a
floppy.

I give the command:

disklabel -w 0r fd1a 5in "scratch"

and I get the errors:

disklabel: ioctl DIOCSDINFO: Device not configured
ioctl DIOCWLABEL: Device not configured

I'm assuming I'm doing something stupid, but I've checked the bug list, and
the unofficial FAQ, and haven't found anything to help.

Any ideas?

Thanks,
Kent Blackett
blackett@bbn.com