summaryrefslogtreecommitdiff
path: root/packages/udev/files
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-10-01 15:26:27 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-01 15:26:27 +0000
commit4d458f970c410967e21a1cb56d4ae4d76af02554 (patch)
treea210b718f3071939bcc0830fdee6debf8eae2eb7 /packages/udev/files
parent3570220e2488a2f1334229940384bed067c52fca (diff)
udev: Make sure we're using busybox's mount when moving .static mount.
(busybox mount uses "-o move" vs. util-linux mount "--move")
Diffstat (limited to 'packages/udev/files')
-rwxr-xr-xpackages/udev/files/init4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/udev/files/init b/packages/udev/files/init
index c290661c72..6ad6fd5811 100755
--- a/packages/udev/files/init
+++ b/packages/udev/files/init
@@ -52,7 +52,9 @@ mount_tmpfs() {
mkdir -p /dev/.static/dev
chmod 700 /dev/.static/
- mount -n -o move /etc/udev /dev/.static/dev
+ # Make sure it's busybox mount we're using. util-linux mount doesn't handle
+ # -o move.
+ busybox mount -n -o move /etc/udev /dev/.static/dev
}
# I hate this hack. -- Md