diff options
author | William Hubbs <williamh@gentoo.org> | 2012-05-01 11:56:37 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-05-01 11:56:37 -0500 |
commit | 567a45b9d029f3330f579cdbed4b81231642f8e7 (patch) | |
tree | cfdb0f5e0819078b70a14e110e4edc6cea7ba84c | |
parent | udev-mount: allow recovery if devtmpfs is not available (diff) | |
download | udev-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.
-rw-r--r-- | init.d/udev-mount | 2 |
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 |