Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mark@cita.toronto.edu (Mark Bartelt)
Subject: /dev/{r}fd0? problems with DU 4.0d
Date: 1998/06/25	[thread overview]
Message-ID: <Ev4Ly8.LC7@campus-news-reading.utoronto.ca> (raw)


After upgrading one of our PW433au workstations from 4.0c to 4.0d,
(including 4.0d patch kit #1), we found that a few floppy-related
things that used to work no longer do.  Details:

(1)  The following work fine under both 4.0c and 4.0d:

	fddisk -fmt -f /dev/rfd0c
and
	disklabel -rw /dev/rfd0c RX26HD

(2)  After I do the above, the following works fine under 4.0c:

	newfs -m 1 /dev/rfd0c

However, under 4.0d it results in the following error message:

	newfs: /dev/rfd0c: no default sector size

If I try to tell it a sector size, with

	newfs -m 1 -S 512 /dev/rfd0c
I get
	Error: /dev/rfd0c is an invalid device or cannot be opened.

Now it's clear that /dev/rfd0c is just fine; disklabel is happy to
write a label, and to read+report the label it's written.  But for
some reason, newfs is no longer able to put a UFS filesystem on a
floppy, unless I'm missing something (and if it can, it's clearly
done differently under 4.0d from the way it was under 4.0c).  Same
error if I use /dev/fd0c (and, /dev/{r}fd0a, for that matter!).

Bug?  Misfeature?  Any known workaround?  (Or is a new patch kit
due out that might fix this?)

PS:  4.0c has a minor floppy-related bug of its own.  If I do

	newfs -m 1 /dev/fddrive
I get
	newfs: /dev/fddrive: `e' partition is unavailable

even though /dev/fddrive is a symlink to /dev/rfd0c, and I can do
the newfs on rfd0c just fine.  Seems that newfs is looking at the
last character of the command line argument, and making some sort
of weird assumption that it should be interpreted as indicating a
partition!

This bug is a lot less annoying than the 4.0d one, though.

Mark Bartelt                                           416/978-5619
Canadian Institute for                        mark@cita.utoronto.ca
Theoretical Astrophysics          http://www.cita.utoronto.ca/~mark

"Nur eine Waffel taugt!"     --     Parsifal, in an Eggo commercial



             reply	other threads:[~1998-06-25  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-25  4:00 Mark Bartelt [this message]
1998-06-26  4:00 ` /dev/{r}fd0? problems with DU 4.0d Mark C Favas
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox