diff options
author | Tom Gundersen <teg@jklm.no> | 2012-01-13 00:57:38 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-01-13 01:23:58 +0100 |
commit | c8684fd231b717ee866a9b86e073db1714c8fc04 (patch) | |
tree | 539efac37678bde93b80167809d91c1ab7f68b30 | |
parent | b933fd5197e8272a411b094ea183d2eb9a12d630 (diff) | |
download | mkinitcpio-c8684fd231b717ee866a9b86e073db1714c8fc04.tar.gz mkinitcpio-c8684fd231b717ee866a9b86e073db1714c8fc04.tar.xz |
init: drop support for non-devtmpfs0.8.2
udev does not support this as of udev-176, so there is no point in
pretending it will work.
This also drops devtmpfs_mounted=1, so any custom hooks that use this
would have to be updated (no official hooks are affected).
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rw-r--r-- | init | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -5,18 +5,7 @@ PATH=/usr/bin mount -t proc proc /proc -o nosuid,noexec,nodev mount -t sysfs sys /sys -o nosuid,noexec,nodev -if mount -n -t devtmpfs udev /dev -o mode=0755,nosuid; then - devtmpfs_mounted=1 -else - mount -n -t tmpfs udev /dev -o mode=0755,nosuid - devtmpfs_mounted=0 - # We don't have devtmpfs, so add the most important standard devices - mknod /dev/null c 1 3 - mknod /dev/zero c 1 5 - mknod /dev/console c 5 1 - # /dev/mem is needed if we want to load uvesafb before triggering uevents - mknod /dev/mem c 1 1 -fi +mount -t devtmpfs dev /dev -o mode=0755,nosuid mount -t tmpfs run /run -o nosuid,nodev,mode=0755 mkdir -m755 /run/initramfs |