From 4d458f970c410967e21a1cb56d4ae4d76af02554 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Sat, 1 Oct 2005 15:26:27 +0000 Subject: udev: Make sure we're using busybox's mount when moving .static mount. (busybox mount uses "-o move" vs. util-linux mount "--move") --- packages/udev/files/init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/udev/files') 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 -- cgit v1.2.3