diff options
author | Scott James Remnant <scott@ubuntu.com> | 2010-03-26 14:33:13 +0000 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-03-27 16:35:15 +0100 |
commit | 261811b5d0524c7fe579bf4ca22915c2dc4b636f (patch) | |
tree | dee756db084ee69588ac25d2f96bdc2c0eda6905 /init | |
parent | 72f9d99901161b02513153eb3e587553fb21165e (diff) | |
download | initramfs-tools-261811b5d0524c7fe579bf4ca22915c2dc4b636f.tar.gz initramfs-tools-261811b5d0524c7fe579bf4ca22915c2dc4b636f.zip |
init: mount /dev/pts as well as /dev
Allows to redirect the console early.
[ merge from 0.92bubuntu71 ]
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'init')
-rwxr-xr-x | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -22,6 +22,8 @@ if ! mount -t devtmpfs -o mode=0755 none /dev; then [ -e /dev/console ] || mknod -m 0600 /dev/console c 5 1 [ -e /dev/null ] || mknod /dev/null c 1 3 fi +mkdir /dev/pts +mount -t devpts -o noexec,nosuid,gid=5,mode=0620 none /dev/pts || true > /dev/.initramfs-tools mkdir /dev/.initramfs |