summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/hotplug.d/block/01-mount2
1 files changed, 1 insertions, 1 deletions
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 5ed3ef0..a34580c 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
}