[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180319195224.GA3380@lst.de>
Date: Mon, 19 Mar 2018 20:52:24 +0100
From: Christoph Hellwig <hch@....de>
To: Jonas Rabenstein <jonas.rabenstein@...dium.uni-erlangen.de>
Cc: Scott Bauer <scott.bauer@...el.com>,
Jonathan Derrick <jonathan.derrick@...el.com>,
Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v2 08/11] block: sed-opal: ioctl for writing to shadow
mbr
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?
Powered by blists - more mailing lists