/sys$common/syshlp/LD$HELP.HLB  —  LD  New features V5.0
 	Enable/disable write-protection of a device  with the next command:

 		LD [NO]PROTECT LDan:

 	Watchpoint support. A watchpoint is a marker which can be set on one
 	or more logical blocks of a disk. The watchpoint consists of a function-
 	code, an action, an error return code and one logical block number.
 	When an I/O request is done to the driver it will check if the request
 	matches one of the watchpoints. If true then the action specified for
 	that watchpoint will be executed. An action can be for example an OPCOM
 	message, but also to return an error code, or to suspend the I/O thread,
 	or to crash the system.

 	The following commandfile will for example put the device into mount-
 	verification:

 	$ SET VERIFY
 	$ SET NOON
 	$!
 	$! Example of how to put a device into mountverification
 	$!
 	$ LD CREATE/NOBACKUP TEMPDISK.DSK
 	$ LD CONNECT/LOG TEMPDISK.DSK LDA1:
 	$ INIT/NOHIGH/SYSTEM LDA1: TEST
 	$ LD TRACE LDA1
 	$ MOUNT LDA1: TEST
 	$ LD WATCH LDA1: 1/ACTION=OPCOM/FUNCTION=CODE=%X080C
 	$ LD WATCH LDA1: 1/ACTION=ERROR=%X84/FUNCTION=CODE=%X0808
 	$ LD WATCH LDA1: 10/ACTION=ERROR=%X84/FUNCTION=READ
 	$ LD SHOW/WATCH LDA1:
 	$ REPLY/ENABLE/TEMP
 	$ SPAWN/NOWAIT/INPUT=NL: DUMP LDA1:/BLOCK=(START=10,COUNT=1)
 	$ INQUIRE DUMMY "Press return to continue"
 	$ LD NOWATCH LDA1:
 	$ LD SHOW/TRACE LDA1:
 	$ REPLY/DISABLE
 	$ DISMOUNT LDA1:
 	$ LD DISCONNECT LDA1:
 	$ DELETE/NOLOG/NOCONF TEMPDISK.DSK;
Close Help