From: Johannes Thumshirn Date: Thu, 13 Jul 2017 10:48:45 +0000 (+0200) Subject: nvmetcli: allow setting of serial number number X-Git-Tag: v0.5~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1ddd1493460227df3bfbbae209e270aa0b6771f0;p=users%2Fhch%2Fnvmetcli.git nvmetcli: allow setting of serial number number Allow a user to set a serial number of a controller in configfs in order to have persistent serials that survive a reboot of the target. Signed-off-by: Johannes Thumshirn Signed-off-by: Christoph Hellwig --- diff --git a/nvmetcli b/nvmetcli index 56dda66..354ce48 100755 --- a/nvmetcli +++ b/nvmetcli @@ -148,6 +148,7 @@ class UISubsystemsNode(UINode): class UISubsystemNode(UINode): ui_desc_attr = { 'allow_any_host': ('string', 'Allow access by any host if set to 1'), + 'serial': ('string', 'Export serial number to hosts'), } def __init__(self, parent, cfnode):