Re: [PATCH v2 08/11] block: sed-opal: ioctl for writing to shadow mbr
From: Christoph Hellwig <hch@lst.de>
Date: 2018-03-19 19:52:40
Also in:
lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2018-03-19 19:52:40
Also in:
lkml
On Mon, Mar 19, 2018 at 07:36:50PM +0100, Jonas Rabenstein wrote:
Allow modification of the shadow mbr. If the shadow mbr is not marked as done, this data will be presented read only as the device content. Only after marking the shadow mbr as done and unlocking a locking range the actual content is accessible.
I hate doing this as an ioctls. Can we make this a sysfs binary file so that people can use dd or cat to write the shadow mbr?