[PATCH 0/2] nvmet: improve 'read-only' handling

Hannes Reinecke hare at suse.de
Thu Apr 3 23:25:12 PDT 2025


On 4/4/25 08:19, Christoph Hellwig wrote:
> On Thu, Apr 03, 2025 at 04:47:45PM +0200, Hannes Reinecke wrote:
>> Hi all,
>>
>> there was a request (Hi Lennart)
> 
> which Lennart?  There's none on Cc.  Not that it really matters, but
> I'd love to hear a bit more about the use case.
> 
Lennart Poettering has a simple nvmet service in systemd, turning the 
entire system into an nvmet-tcp target exporting the root device.
(He needs it for testing and debugging his systemd changes).
But obviously that would expose his HDD to _anyone_, and so to prevent
$RANDOM_PERSON to access and possibly delete files on his HDD he would
like to have a 'readonly' setting.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare at suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich



More information about the Linux-nvme mailing list