From 3d1e9fa5fad1746cf9058f4ef709e0e69d9f4cf2 Mon Sep 17 00:00:00 2001 From: Isaac Dunham Date: Sun, 31 Jan 2016 20:27:13 -0800 Subject: [PATCH] adjust sample conf for alpine packaging --- mdev.conf | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/mdev.conf b/mdev.conf index d23b083..161e5bf 100644 --- a/mdev.conf +++ b/mdev.conf @@ -45,19 +45,19 @@ ttyS[0-9]* root:uucp 660 # block devices ram([0-9]*) root:disk 660 >rd/%1 loop([0-9]+) root:disk 660 >loop/%1 -sd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device -vd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device -hd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device -md[0-9]* root:disk 660 */opt/mdev/helpers/storage-device -dm-[0-9]* root:disk 660 */opt/mdev/helpers/storage-device -bcache[0-9]* root:disk 660 */opt/mdev/helpers/storage-device -mmcblk[0-9].* root:disk 660 */opt/mdev/helpers/storage-device +sd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device +vd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device +hd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device +md[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device +dm-[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device +bcache[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device +mmcblk[0-9].* root:disk 660 */lib/mdev-like-a-boss/storage-device sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom fd[0-9]* root:floppy 660 # Run settle-nics every time new NIC appear. -# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nis' without '--write-mactab' param. --SUBSYSTEM=net;DEVPATH=.*/net/.*;.* root:root 600 @/opt/mdev/helpers/settle-nics --write-mactab +# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nics' without '--write-mactab' param. +-SUBSYSTEM=net;DEVPATH=.*/net/.*;.* root:root 600 @/lib/mdev-like-a-boss/settle-nics --write-mactab net/tun[0-9]* root:kvm 660 net/tap[0-9]* root:root 600 @@ -111,7 +111,7 @@ cpu([0-9]+) root:root 600 =cpu/%1/cpuid msr([0-9]+) root:root 600 =cpu/%1/msr # Populate /dev/bus/usb. -SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */opt/mdev/helpers/proc-bus-usb +SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */lib/mdev-like-a-boss/proc-bus-usb # Catch-all other devices, Right now useful only for debuging. -#.* root:root 660 */opt/mdev/helpers/catch-all +#.* root:root 660 */lib/mdev-like-a-boss/catch-all -- 2.7.0