udev-extraconf: Avoid mounting unknown filesystems
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 22 Apr 2013 11:52:29 +0000 (08:52 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Apr 2013 11:12:20 +0000 (12:12 +0100)
commit42f0a99a7434e00ccf3db0d3f3d5605a2da97ff8
tree4588417381d5e9e5bc010a4d31ae033438ada805
parent01dc161bb6b5706ecb4ecbda1f04f0d1b1441a69
udev-extraconf: Avoid mounting unknown filesystems

Depending on kernel version used, the system can hung when trying to
mount the extended partition (not the logical one) as it is a holder
for other partitions and does not have a filesystem in it.

To avoid this to happen we just mount partitions when these are using
known filesystems so it does not try to mount a partition for an
unsupported filesystem.

Reported-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
Reported-by: Leonardo Sandoval Gonzalez <b42214@freescale.com>
(From OE-Core rev: 895c9685a7f95dc84786213f945895a504a16254)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev-extraconf/mount.sh