[systemd-devel] 60-persistent-storage.rules: add NVMe disks and partitions (again)
Per Bergqvist
per at bst.lu
Thu May 14 00:36:21 PDT 2015
Not really the point.
I do however prefer to trust an explicit indication in ENV{DEVTYPE} rather than to guess device type based on device naming.
And so does the standard scsi rules.
BR
Per
On 14 May 2015, at 9:20 , Robert Milasan <rmilasan at suse.com> wrote:
> On Thu, 14 May 2015 09:10:40 +0200
> "Per Bergqvist" <per at bst.lu> wrote:
>>
>> +KERNEL=="nvme*",ENV{DEVTYPE}=="disk", ENV{ID_SCSI_SERIAL}=="?*",
>
> Wouldn't this make sense: KERNEL=="nvme*[!0-9]" (this is disk)
>
>> +KERNEL=="nvme*",ENV{DEVTYPE}=="partition", ENV{ID_SCSI_SERIAL}=="?*",
>
> and this KERNEL=="nvme*[0-9]" (this is partition) ?
>
>
> --
> Robert Milasan
>
> L3 Support Engineer
> SUSE Linux (http://www.suse.com)
> email: rmilasan at suse.com
> GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150514/8508aff3/attachment.html>
More information about the systemd-devel
mailing list