From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7968b19cdca97e97,start X-Google-Attributes: gidfee84,public From: mark@cita.toronto.edu (Mark Bartelt) Subject: /dev/{r}fd0? problems with DU 4.0d Date: 1998/06/25 Message-ID: #1/1 X-Deja-AN: 366108578 Sender: nntp@campus-news-reading.utoronto.ca (News) Reply-To: mark@cita.utoronto.ca X-Nntp-Posting-Host: rorqual.cita.utoronto.ca Organization: Canadian Institute for Theoretical Astrophysics Newsgroups: comp.unix.osf.osf1 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