diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-10 19:12:47 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-06-10 19:12:47 +0200 |
commit | 96a4abdbbf8f490e97e72435627938a2577c613e (patch) | |
tree | c5dc212699dbd7ba14fc3326f2edc3655521774c /install/base | |
parent | 88d6c54aa0e820a8df2bedf9a3da6a56aa6d01ae (diff) | |
download | mkinitcpio-96a4abdbbf8f490e97e72435627938a2577c613e.tar.gz mkinitcpio-96a4abdbbf8f490e97e72435627938a2577c613e.tar.xz |
Create /dev/{null,zero,mem,console} devices when devtmpfs is missing
These devices used to be present because they were added in the image.
Since we now mount {dev,}tmpfs early in initramfs, the devices from
the image will be invisible. In the tmpfs-case, create the devices
manually so everything will be in order until udev is started, or
if udev isn't used at all.
Diffstat (limited to 'install/base')
-rw-r--r-- | install/base | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/install/base b/install/base index ff1be88..a117020 100644 --- a/install/base +++ b/install/base @@ -13,10 +13,7 @@ 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 |