Source-Changes archive

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

NetBSD master CVS tree commits



thorpej
Sat Dec 21 13:34:42 PST 1996
Update of /cvsroot/src/sys/arch/hp300/stand
In directory netbsd1:/var/slash-tmp/cvs-serv22333

Modified Files:
        rd.c sd.c 
Log Message:
Fix several semantic bugs:
- Always allow RAW_PART to be opened, regardless of the partition table.
- Never do partition translation on RAW_PART; it's always offset 0.
- Always make sure the disklabel is read from RAW_PART.
- Make *strategy() return values consistent.

This fixes a condition where a bogus partition table could be written
to the disk from SYS_INST, and the user had no way to rewrite with
a correct partition table, since RAW_PART would be invalid.




Home | Main Index | Thread Index | Old Index