Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 11/09/1997 03:10:02
jonathan
Sat Nov 8 19:08:25 PST 1997
Update of /a/cvsroot/src/sys/arch/pmax/dev
In directory netbsd1:/var/slash-tmp/cvs-serv5067
Modified Files:
rz.c
Log Message:
Fix kernel divide-by-zero errors and other bugs with removable devices:
* Add code to query CDs for size, from MI scsi cd.c. Use it on CDs.
* Set C partition size for CDs. 4.4bsd/pmax code only set `a' partition
size and required users to mount `a' partition, breking raw-device
access like "disklabel rz?".
* Avoid possible divide-by-zero call to howmany() from rzstart(),
on removable media that aren't ready at device-open time.
Verified to work on rrz42.