Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: init.d/
Date: Tue, 01 May 2012 16:58:05
Message-Id: 1335891397.567a45b9d029f3330f579cdbed4b81231642f8e7.WilliamH@gentoo
1 commit: 567a45b9d029f3330f579cdbed4b81231642f8e7
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 1 16:56:37 2012 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue May 1 16:56:37 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/udev-gentoo-scripts.git;a=commit;h=567a45b9
7
8 udev-mount: add -n call to mount for temporary /dev
9
10 This is needed because / is read only when this script is run.
11
12 ---
13 init.d/udev-mount | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16 diff --git a/init.d/udev-mount b/init.d/udev-mount
17 index 515c44d..ab58c3d 100644
18 --- a/init.d/udev-mount
19 +++ b/init.d/udev-mount
20 @@ -18,7 +18,7 @@ mount_dev_directory()
21 eerror "for this version of udev to run successfully."
22 eerror "This requires immediate attention."
23 if ! mountinfo -q /dev; then
24 - mount -t tmpfs dev /dev
25 + mount -n -t tmpfs dev /dev
26 busybox mdev -s
27 mkdir /dev/pts
28 fi