Subject: CVS commit: src
To: None <>
From: Manuel BOUYER <>
List: source-changes
Date: 02/08/1999 08:33:18
Module Name:	src
Committed By:	bouyer
Date:		Mon Feb  8 16:33:18 UTC 1999

Modified Files:
	src/sys/arch/sparc/dev: fd.c
	src/sys/arch/sparc64/dev: fd.c
	src/sys/arch/sun3/dev: fd.c
	src/sys/arch/x68k/dev: fd.c
	src/sys/dev/isa: mcd.c
	src/sys/dev/scsipi: cd.c sd.c
	src/sys/sys: dkio.h
Log Message:
Change DIOCEJECT to do what's needed to eject a device before the eject
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.