Difference between revisions of "Shell Commands/Lock"

From MorphOS Library

< Shell Commands

(Created page with "'''Lock''' - Write-protects a drive DRIVE/A, ON/S, OFF/S, PASSKEY <nowiki> DRIVE - name of the drive to write-protect ON - set writ...")
 
(No difference)

Latest revision as of 11:06, 3 March 2015

Lock - Write-protects a drive

DRIVE/A, ON/S, OFF/S, PASSKEY

DRIVE   - name of the drive to write-protect                                   
ON      - set write-protect status to ON
OFF     - set write-protect status to OFF
PASSKEY - optional: pass-key; changing again the write-protect status
          of the device will require this passkey