From 6b7cb273f928ef0b0fe54479a3fb777a54908d29 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Fri, 1 Aug 2014 12:33:17 +0800 Subject: udev-extraconf: not automount network block devices The nbd devices are set up loop devices, we first have dead device nodes, then later we attach stuff behind them. At the time of the udev creation event, nothing works at nbd devices. This avoids unnecessary boot error msg: | nbd0: Attempted send on closed socket | end_request: I/O error, dev nbd0, sector 0 Signed-off-by: Ting Liu --- recipes-core/udev/udev-extraconf_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/udev/udev-extraconf_%.bbappend b/recipes-core/udev/udev-extraconf_%.bbappend index 6c2bfe2..896e75f 100644 --- a/recipes-core/udev/udev-extraconf_%.bbappend +++ b/recipes-core/udev/udev-extraconf_%.bbappend @@ -9,5 +9,7 @@ do_install_append_qoriq-ppc () { # skip mmc rpmb partitions echo "/dev/mmcblk.*rpmb" >>${D}${sysconfdir}/udev/mount.blacklist + # skip nbd (network block device) + echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist } -- cgit v1.2.3-54-g00ecf