fix(abs): some block device use more than int as identifier.

This commit is contained in:
Alexandre Pujol 2023-08-18 15:24:22 +01:00
parent a3f21425e5
commit 8ea4491a56
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 10 additions and 10 deletions

View File

@ -19,20 +19,20 @@
@{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r, @{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r,
# SSD Nvme devices # SSD Nvme devices
/dev/nvme* rk, /dev/nvme[0-9]* rk,
@{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r, @{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r,
# SD card devices # SD card devices
/dev/mmcblk@{int} rk, /dev/mmcblk[0-9]* rk,
/dev/mmcblk@{int}p@{int} rk, /dev/mmcblk[0-9]*p@{int} rk,
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r, @{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r,
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r, @{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r,
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r, @{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r,
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r, @{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r,
# Loop devices # Loop devices
/dev/loop@{int} rk, /dev/loop[0-9]* rk,
/dev/loop@{int}p@{int} rk, /dev/loop[0-9]*p@{int} rk,
@{sys}/devices/virtual/block/loop@{int}/ r, @{sys}/devices/virtual/block/loop@{int}/ r,
@{sys}/devices/virtual/block/loop@{int}/** r, @{sys}/devices/virtual/block/loop@{int}/** r,

View File

@ -19,20 +19,20 @@
@{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r, @{sys}/devices/pci[0-9]*/**/{usb,ata}[0-9]/** r,
# SSD Nvme devices # SSD Nvme devices
/dev/nvme@{int} rwk, /dev/nvme[0-9]* rwk,
@{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r, @{sys}/devices/pci[0-9]*/**/nvme/nvme@{int}/{,**} r,
# SD card devices # SD card devices
/dev/mmcblk@{int} rwk, /dev/mmcblk[0-9]* rwk,
/dev/mmcblk@{int}p@{int} rwk, /dev/mmcblk[0-9]*p@{int} rwk,
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r, @{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/ r,
@{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r, @{sys}/devices/pci[0-9]*/**/block/mmcblk@{int}/** r,
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r, @{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/ r,
@{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r, @{sys}/devices/pci[0-9]*/**/mmc@{int}/mmc*/** r,
# Loop devices # Loop devices
/dev/loop@{int} rwk, /dev/loop[0-9]* rwk,
/dev/loop@{int}p@{int} rwk, /dev/loop[0-9]*p@{int} rwk,
@{sys}/devices/virtual/block/loop@{int}/ r, @{sys}/devices/virtual/block/loop@{int}/ r,
@{sys}/devices/virtual/block/loop@{int}/** r, @{sys}/devices/virtual/block/loop@{int}/** r,