[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference cookie::mru

Title:MRU Internal Bug Reports
Moderator:COOKIE::STMARTIN
Created:Wed Sep 20 1995
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:346
Total number of notes:1175

327.0. "OP:LOW The Digital UNIX version of Test Unit Ready." by NABETH::alan (Dr. File System's Home for Wayward Inodes.) Mon Apr 14 1997 21:10

	Where the OpenVMS version of mrd_test_unit_ready(3mrd) at
	least does something, the Digital UNIX version doesn't do
	much of anything.  The V1.0 and V1.1 versions just blindly
	returned MRD_STATUS_SUCCESS, since there wasn't an I/O
	control to do a TUR.  So far, the V1.2 version checks that
	the parameter is valid.  It is, then it blindly returns
	MRD_STATUS_SUCCESS.

	Given the limited function available, it should at least
	be able to check that the robot_info_t belongs to an
	open device and return MRD_STATUS_EBADF if not.
T.RTitleUserPersonal
Name
DateLines
327.1Close.NABETH::alanDr. File System's Home for Wayward Inodes.Tue Apr 15 1997 18:355
	This now uses fstat(2) to verify that the file is open.  If
	fstat(2) fails, then the errno for the failure is mapped
	to an MRD status with mrd_map_os_error().  EBADF is the
	most likely failure here, but doing this ensures that the
	actual failure is correctly reported.
327.2DECWET::RWALKERRoger Walker - Media ChangersSun Apr 20 1997 01:334
    Why not send a real TUR through the generic IOCTL, you get a free one
    on open and after some errors but you can send your own anytime
    you want.
    
327.3SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Sun Apr 20 1997 09:515
	Because the generic I/O control doesn't work before V3.1
	of the CLC driver.  In the version after this, I'll look
	into faking it on the earlier versions and hope they handle
	the errors gracefully, but V1.2 still supports as far back
	V2.2 with OSF/1 support going back to V1.3.