Shell Commands/Lock

From MorphOS Library

Revision as of 12:06, 3 March 2015 by JPV (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< 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