From 6d2ef0afddb8ab62ac5019e203fa85bb4a9f5165 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sat, 26 Jun 2010 13:29:21 +0200 Subject: Add back /dev/{zero,null,mem} to the initramfs image These devices might be actually needed before (dev)tmpfs is mounted, for example when uvesafb is built into the kernel (no module). By creating them in the image, they will be present as soon as initramfs has been extracted. Fixes https://bugs.archlinux.org/task/19903. --- install/base | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/base b/install/base index a117020..d1aa176 100644 --- a/install/base +++ b/install/base @@ -13,7 +13,10 @@ install () add_dir "/usr/lib" add_dir "/usr/sbin" + add_device "/dev/null" c 1 3 + add_device "/dev/zero" c 1 5 add_device "/dev/console" c 5 1 + add_device "/dev/mem" c 1 1 add_binary /lib/initcpio/busybox /bin/busybox add_binary /sbin/modprobe -- cgit v1.2.3-24-g4f1b