Use the correct major number for the temporary console node

This commit is contained in:
dsl 2007-03-02 22:44:16 +00:00
parent 1d350026de
commit 7bb36ad737

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV.tmpl,v 1.77 2007/03/02 21:29:23 dsl Exp $
# $NetBSD: MAKEDEV.tmpl,v 1.78 2007/03/02 22:44:16 dsl Exp $
#
# Copyright (c) 2003,2007 The NetBSD Foundation, Inc.
# All rights reserved.
@ -1625,7 +1625,7 @@ create_mfs_dev()
mount_mfs -b 4096 -f 512 -s $fs_size -n $ninode -p 07555 -o union swap $dev_mountpoint
cd $dev_mountpoint
mknod -m 600 -g 0 -u 0 temp_console c 0 0
mknod -m 600 -g 0 -u 0 temp_console c %cons_chr% 0
exec >temp_console 2>&1
rm temp_console
echo "Created mfs $dev_mountpoint ($fs_size blocks, $ninode inodes)"