Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Enable or Disable Read and Write Protections

  1. Determine whether you want to enable or disable write protection and select the appropriate commands from the following:
    • Enable write protection.
      $ rmformat -w enable device-name
    • Enable read protection.
      $ rmformat -r enable device-name
    • Disable write protection.
      $ rmformat -w disable device-name
    • Disable read protection.
      $ rmformat -r disable device-name

    Note -  Each of these commands includes a prompt to type a password. Specify a valid password.
  2. Verify whether the media's write protection is enabled or disabled.
    $ rmformat -p device-name