command
Version:
v0.8.21
Opens a new window with list of versions in this module.
Published: Apr 13, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
sedlockctl
Used to operate SED locking from a Linux shell.
Example:
$ sudo target/sedlockctl --password debug /dev/sdd list
Range 0: whole disk [write locked] [read locked] [global]
Range 1: disabled
Range 2: disabled
Range 3: disabled
Range 4: disabled
Range 5: disabled
Range 6: disabled
Range 7: disabled
Range 8: disabled
$ sudo fdisk -l /dev/sdd
fdisk: cannot open /dev/sdd: Input/output error
$ sudo target/sedlockctl --password debug /dev/sdd unlock-all
$ sudo target/sedlockctl --password debug /dev/sdd list
Range 0: whole disk [global]
Range 1: disabled
Range 2: disabled
Range 3: disabled
Range 4: disabled
Range 5: disabled
Range 6: disabled
Range 7: disabled
Range 8: disabled
$ sudo fdisk -l /dev/sdd
Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.