Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Add a /dev/constty == /dev/console but with minor 1.
details: https://anonhg.NetBSD.org/src/rev/3232b0fcac5d
branches: trunk
changeset: 552798:3232b0fcac5d
user: dsl <dsl%NetBSD.org@localhost>
date: Fri Oct 03 14:35:36 2003 +0000
description:
Add a /dev/constty == /dev/console but with minor 1.
Use for tty sessions on 'console' so that output doesn't pinched by anyone
using TIOCCONS to get kernel and system messages.
diffstat:
etc/etc.acorn26/MAKEDEV | 5 +++--
etc/etc.acorn32/MAKEDEV | 5 +++--
etc/etc.algor/MAKEDEV | 5 +++--
etc/etc.alpha/MAKEDEV | 5 +++--
etc/etc.amd64/MAKEDEV | 5 +++--
etc/etc.amiga/MAKEDEV | 5 +++--
etc/etc.arc/MAKEDEV | 5 +++--
etc/etc.atari/MAKEDEV | 5 +++--
etc/etc.bebox/MAKEDEV | 5 +++--
etc/etc.cats/MAKEDEV | 5 +++--
etc/etc.cesfic/MAKEDEV | 5 +++--
etc/etc.cobalt/MAKEDEV | 5 +++--
etc/etc.dreamcast/MAKEDEV | 5 +++--
etc/etc.evbarm/MAKEDEV | 5 +++--
etc/etc.evbmips/MAKEDEV | 5 +++--
etc/etc.evbppc/MAKEDEV | 5 +++--
etc/etc.evbsh3/MAKEDEV | 5 +++--
etc/etc.evbsh5/MAKEDEV | 5 +++--
etc/etc.hp300/MAKEDEV | 5 +++--
etc/etc.hp700/MAKEDEV | 3 ++-
etc/etc.hpcarm/MAKEDEV | 5 +++--
etc/etc.hpcmips/MAKEDEV | 5 +++--
etc/etc.hpcsh/MAKEDEV | 5 +++--
etc/etc.i386/MAKEDEV | 5 +++--
etc/etc.luna68k/MAKEDEV | 5 +++--
etc/etc.mac68k/MAKEDEV | 5 +++--
etc/etc.macppc/MAKEDEV | 5 +++--
etc/etc.mipsco/MAKEDEV | 5 +++--
etc/etc.mmeye/MAKEDEV | 5 +++--
etc/etc.mvme68k/MAKEDEV | 5 +++--
etc/etc.mvmeppc/MAKEDEV | 5 +++--
etc/etc.netwinder/MAKEDEV | 5 +++--
etc/etc.news68k/MAKEDEV | 5 +++--
etc/etc.newsmips/MAKEDEV | 5 +++--
etc/etc.next68k/MAKEDEV | 5 +++--
etc/etc.ofppc/MAKEDEV | 5 +++--
etc/etc.pc532/MAKEDEV | 5 +++--
etc/etc.playstation2/MAKEDEV | 5 +++--
etc/etc.pmax/MAKEDEV | 5 +++--
etc/etc.pmppc/MAKEDEV | 5 +++--
etc/etc.prep/MAKEDEV | 5 +++--
etc/etc.sandpoint/MAKEDEV | 5 +++--
etc/etc.sbmips/MAKEDEV | 5 +++--
etc/etc.sgimips/MAKEDEV | 5 +++--
etc/etc.shark/MAKEDEV | 5 +++--
etc/etc.sparc/MAKEDEV | 5 +++--
etc/etc.sparc64/MAKEDEV | 5 +++--
etc/etc.sun2/MAKEDEV | 3 ++-
etc/etc.sun3/MAKEDEV | 3 ++-
etc/etc.vax/MAKEDEV | 5 +++--
etc/etc.x68k/MAKEDEV | 5 +++--
51 files changed, 150 insertions(+), 99 deletions(-)
diffs (truncated from 1149 to 300 lines):
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.acorn26/MAKEDEV
--- a/etc/etc.acorn26/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.acorn26/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.15 2003/09/05 17:11:30 dsl Exp $
+# $NetBSD: MAKEDEV,v 1.16 2003/10/03 14:35:36 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -186,8 +186,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
mknod null c 2 2 ; chmod 666 null
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.acorn32/MAKEDEV
--- a/etc/etc.acorn32/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.acorn32/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.34 2003/09/19 11:11:37 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.35 2003/10/03 14:35:36 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -188,7 +188,7 @@
;;
std)
- rm -f console drum mem kmem null zero klog kbd
+ rm -f console constty drum mem kmem null zero klog kbd
rm -f kbdctl vidcconsole0 iic rtc0 ksyms
mknod mem c 0 0 ; chmod 640 mem ; chgrp kmem mem
mknod kmem c 0 1 ; chmod 640 kmem ; chgrp kmem kmem
@@ -196,6 +196,7 @@
mknod zero c 0 3 ; chmod 666 zero
mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum
mknod console c 2 0
+ mknod constty c 2 1
mknod klog c 5 0 ; chmod 600 klog
mknod kbd c 11 0 ; chmod 666 kbd
mknod kbdctl c 11 1 ; chmod 666 kbdctl
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.algor/MAKEDEV
--- a/etc/etc.algor/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.algor/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.17 2003/09/19 11:11:39 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.18 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -227,8 +227,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.alpha/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.117 2003/09/19 11:11:40 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.118 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -245,8 +245,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.amd64/MAKEDEV
--- a/etc/etc.amd64/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.amd64/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.8 2003/09/19 11:11:42 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.9 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -255,8 +255,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.amiga/MAKEDEV
--- a/etc/etc.amiga/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.amiga/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.93 2003/09/22 18:17:30 jandberg Exp $
+# $NetBSD: MAKEDEV,v 1.94 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -187,8 +187,9 @@
;;
std)
- rm -f console drum kmem mem reload null zero klog ksyms
+ rm -f console constty drum kmem mem reload null zero klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.arc/MAKEDEV
--- a/etc/etc.arc/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.arc/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.35 2003/09/19 11:11:43 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.36 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -195,8 +195,9 @@
;;
std)
- rm -f console drum mem kmem null zero klog ksyms
+ rm -f console constty drum mem kmem null zero klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.atari/MAKEDEV
--- a/etc/etc.atari/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.atari/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.72 2003/09/19 11:11:44 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.73 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -181,8 +181,9 @@
;;
std)
- rm -f console drum kmem mem nvram reload null zero klog ksyms
+ rm -f console constty drum kmem mem nvram reload null zero klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.bebox/MAKEDEV
--- a/etc/etc.bebox/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.bebox/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.45 2003/09/19 11:11:45 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.46 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -167,8 +167,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.cats/MAKEDEV
--- a/etc/etc.cats/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.cats/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.30 2003/09/19 11:11:45 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.31 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -194,7 +194,7 @@
;;
std)
- rm -f console drum mem kmem null zero klog kbd
+ rm -f console constty drum mem kmem null zero klog kbd
rm -f kbdctl vidcconsole0 iic rtc0
mknod mem c 0 0 ; chmod 640 mem ; chgrp kmem mem
mknod kmem c 0 1 ; chmod 640 kmem ; chgrp kmem kmem
@@ -202,6 +202,7 @@
mknod zero c 0 3 ; chmod 666 zero
mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum
mknod console c 2 0
+ mknod constty c 2 1
mknod klog c 5 0 ; chmod 600 klog
mknod kbd c 11 0 ; chmod 666 kbd
mknod kbdctl c 11 1 ; chmod 666 kbdctl
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.cesfic/MAKEDEV
--- a/etc/etc.cesfic/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.cesfic/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.10 2003/09/05 17:02:55 dsl Exp $
+# $NetBSD: MAKEDEV,v 1.11 2003/10/03 14:35:37 dsl Exp $
#
###########################################################################
#
@@ -68,8 +68,9 @@
;;
std)
- rm -f console drum mem kmem null zero klog
+ rm -f console constty drum mem kmem null zero klog
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.cobalt/MAKEDEV
--- a/etc/etc.cobalt/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.cobalt/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.32 2003/09/19 11:11:46 pooka Exp $
+# $NetBSD: MAKEDEV,v 1.33 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -149,8 +149,9 @@
;;
std)
- rm -f console drum mem kmem null zero klog
+ rm -f console constty drum mem kmem null zero klog
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 10 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 10 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.dreamcast/MAKEDEV
--- a/etc/etc.dreamcast/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.dreamcast/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.41 2003/08/30 11:00:25 dsl Exp $
+# $NetBSD: MAKEDEV,v 1.42 2003/10/03 14:35:37 dsl Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -145,8 +145,9 @@
;;
std)
- rm -f console drum mem kmem null zero io klog ksyms
+ rm -f console constty drum mem kmem null zero io klog ksyms
mknod console c 0 0
+ mknod constty c 0 1
mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
diff -r 45986cceef35 -r 3232b0fcac5d etc/etc.evbarm/MAKEDEV
--- a/etc/etc.evbarm/MAKEDEV Fri Oct 03 13:48:09 2003 +0000
+++ b/etc/etc.evbarm/MAKEDEV Fri Oct 03 14:35:36 2003 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.34 2003/09/19 11:11:47 pooka Exp $
Home |
Main Index |
Thread Index |
Old Index