Shell Commands/Lock

From MorphOS Library

< Shell Commands

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