<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Not really the point.<div><br><div>I do however prefer to trust an explicit indication in ENV{DEVTYPE} rather than to guess device type based on device naming.</div><div>And so does the standard scsi rules.</div><div><div><br></div><div>BR</div><div>Per</div><div><br><div><div>On 14 May 2015, at 9:20 , Robert Milasan <<a href="mailto:rmilasan@suse.com">rmilasan@suse.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Thu, 14 May 2015 09:10:40 +0200<br>"Per Bergqvist" <<a href="mailto:per@bst.lu">per@bst.lu</a>> wrote:<br><blockquote type="cite"><br>+KERNEL=="nvme*",ENV{DEVTYPE}=="disk", ENV{ID_SCSI_SERIAL}=="?*",<br></blockquote><br>Wouldn't this make sense: KERNEL=="nvme*[!0-9]" (this is disk)<br><br><blockquote type="cite">+KERNEL=="nvme*",ENV{DEVTYPE}=="partition", ENV{ID_SCSI_SERIAL}=="?*",<br></blockquote><br>and this KERNEL=="nvme*[0-9]" (this is partition) ?<br><br><br>-- <br>Robert Milasan<br><br>L3 Support Engineer<br>SUSE Linux (<a href="http://www.suse.com">http://www.suse.com</a>)<br>email: <a href="mailto:rmilasan@suse.com">rmilasan@suse.com</a><br>GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A<br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br></div></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></div></div></body></html>