linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.44k stars 646 forks source link

sed: only re-read partition table after unlock. #2341

Closed gjoyce-ibm closed 3 months ago

gjoyce-ibm commented 3 months ago

The partition table was being re-read after both lock and unlock operations. The re-read would fail with an error message after a lock since the partiton was no longer readable.

igaw commented 3 months ago

Thanks!