Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 01/29/1999 03:18:00
Module Name: src
Committed By: bouyer
Date: Fri Jan 29 11:17:59 UTC 1999
Modified Files:
src/sys/dev/scsipi: cd.c scsipi_base.c sd.c
Log Message:
Return ENODEV instead of EIO when we are trying to open a device without media
in the drive. restrict "opening of empty drive" to character devices only
(reading a block device returns a short read instead of ENODEV, which can lead
to confusion).