Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits

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:
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.

Home | Main Index | Thread Index | Old Index