From: Ting Liu Date: Fri, 1 Aug 2014 04:33:17 +0000 (+0800) Subject: udev-extraconf: not automount network block devices X-Git-Tag: 2.1~534^2~89 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f60edc4bbefdf6378880b81bff3112e05e115908;p=meta-freescale.git 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 --- diff --git a/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend b/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend index 6c2bfe2c..896e75f6 100644 --- a/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend +++ b/meta-fsl-ppc/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 }