summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-05-01 11:56:37 -0500
committerWilliam Hubbs <williamh@gentoo.org>2012-05-01 11:56:37 -0500
commit567a45b9d029f3330f579cdbed4b81231642f8e7 (patch)
treecfdb0f5e0819078b70a14e110e4edc6cea7ba84c /init.d/udev-mount
parentudev-mount: allow recovery if devtmpfs is not available (diff)
downloadudev-gentoo-scripts-567a45b9d029f3330f579cdbed4b81231642f8e7.tar.gz
udev-gentoo-scripts-567a45b9d029f3330f579cdbed4b81231642f8e7.tar.bz2
udev-gentoo-scripts-567a45b9d029f3330f579cdbed4b81231642f8e7.zip
udev-mount: add -n call to mount for temporary /dev
This is needed because / is read only when this script is run.
Diffstat (limited to 'init.d/udev-mount')
-rw-r--r--init.d/udev-mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/udev-mount b/init.d/udev-mount
index 515c44d..ab58c3d 100644
--- a/init.d/udev-mount
+++ b/init.d/udev-mount
@@ -18,7 +18,7 @@ mount_dev_directory()
eerror "for this version of udev to run successfully."
eerror "This requires immediate attention."
if ! mountinfo -q /dev; then
- mount -t tmpfs dev /dev
+ mount -n -t tmpfs dev /dev
busybox mdev -s
mkdir /dev/pts
fi