Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 01/07/1997 09:30:02
thorpej
Tue Jan 7 01:29:33 PST 1997
Update of /cvsroot/src/sys/arch/hp300/dev
In directory netbsd1:/var/slash-tmp/cvs-serv10048
Modified Files:
sd.c rd.c
Log Message:
Bring some sanity into my frazzled existence:
- Always ensure that RAW_PART ("c") can be opened.
- Disallow unused or non-existent partitions from being opened.
- Don't do bounds checking or partition translation on RAW_PART.
This is consistent with other disk drivers in the NetBSD source tree,
and fixes a condition where the user could not fix a corrupted disklabel
due to a bogus offset for partition "c".