Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.i386 fix nsmb* to use correct assigned major, hook c...



details:   https://anonhg.NetBSD.org/src/rev/e50548d6260d
branches:  trunk
changeset: 543157:e50548d6260d
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Feb 18 12:28:57 2003 +0000

description:
fix nsmb* to use correct assigned major, hook creation of nsmb devices
into 'all' target

diffstat:

 etc/etc.i386/MAKEDEV |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 3adde5050e27 -r e50548d6260d etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Tue Feb 18 12:26:50 2003 +0000
+++ b/etc/etc.i386/MAKEDEV      Tue Feb 18 12:28:57 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.190 2002/12/18 20:27:25 wiz Exp $
+#      $NetBSD: MAKEDEV,v 1.191 2003/02/18 12:28:57 jdolecek Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -143,6 +143,7 @@
 #      dmoverio hardware-assisted data movers
 #      veriexec verified executable fingerprint loader
 #      twe     3ware Escalade control interface
+#      nsmb    network SMB context device
 #
 
 dialin=0
@@ -203,6 +204,7 @@
        makedev systrace
        makedev kttcp
        makedev dmoverio
+       makedev nsmb
        ;;
 
 audio)
@@ -970,10 +972,14 @@
        chmod 660 clockctl
        ;;
 
+nsmb)
+       makedev nsmb0 nsmb1 nsmb2 nsmb3
+       ;;
+
 nsmb*)
        unit=${i#nsmb}
        nsmb=nsmb$unit
-       major=88
+       major=98
        rm -f $nsmb
        mknod $nsmb c $major $unit
        chmod 644 $nsmb



Home | Main Index | Thread Index | Old Index