From 354a4b31a4da3a2a99acf468847a4f25f3ff1904 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 20 Dec 2006 05:29:52 +0000 Subject: [PATCH] don't try to automount loopback devices (#1011) SVN-Revision: 5877 --- package/base-files/files/etc/hotplug.d/block/01-mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/hotplug.d/block/01-mount b/package/base-files/files/etc/hotplug.d/block/01-mount index 5ed3ef060b..a34580cb97 100755 --- a/package/base-files/files/etc/hotplug.d/block/01-mount +++ b/package/base-files/files/etc/hotplug.d/block/01-mount @@ -13,7 +13,7 @@ add) }; done echo - [ ${DEV%%[0-9]} != ${DEV} ] && { + [ ${DEV%%[0-9]} != ${DEV} -a ${DEV%%[0-9]} != "loop" ] && { mkdir -p /tmp/$DEV mount /dev/$DEV /tmp/$DEV -t auto -o sync } -- 2.30.2