[arch-commits] Commit in udev/trunk (udev.install)
Tom Gundersen
tomegun at archlinux.org
Mon Sep 12 12:12:19 UTC 2011
Date: Monday, September 12, 2011 @ 08:12:19
Author: tomegun
Revision: 137912
install: add comment to explain why we need to do what we do
This was in response to FS#25954.
Modified:
udev/trunk/udev.install
--------------+
udev.install | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: udev.install
===================================================================
--- udev.install 2011-09-12 12:06:01 UTC (rev 137911)
+++ udev.install 2011-09-12 12:12:19 UTC (rev 137912)
@@ -48,7 +48,11 @@
}
post_install() {
- # If a ramfs is mounted, we still need to make sure that /dev/{console,null,zero} exist
+
+ # We add the basic nodes (/dev/{console,null,zero}) to the rootfs, so they will be
+ # available, even when booting without an initrd, and without automounted devtmpfs.
+ # Relying on this functionality is ill adviced, but we will support it for now.
+
# The Archlinux installer bind-mounts /dev to /mnt/dev, thus making the real /dev invisible
ROOTDIR=""
[ "$(stat -c %D /)" != "$(stat -c %D /dev)" ] && ROOTDIR=$(mktemp -d /tmp/udevinstall.XXXXXX)
More information about the arch-commits
mailing list