Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.i386 add nsmb device



details:   https://anonhg.NetBSD.org/src/rev/37728d680c9d
branches:  trunk
changeset: 520571:37728d680c9d
user:      deberg <deberg%NetBSD.org@localhost>
date:      Mon Jan 14 06:18:20 2002 +0000

description:
add nsmb device

diffstat:

 etc/etc.i386/MAKEDEV |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 2bc56e00ebb8 -r 37728d680c9d etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Mon Jan 14 04:25:47 2002 +0000
+++ b/etc/etc.i386/MAKEDEV      Mon Jan 14 06:18:20 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.156 2002/01/13 14:18:35 manu Exp $
+#      $NetBSD: MAKEDEV,v 1.157 2002/01/14 06:18:20 deberg Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -135,6 +135,7 @@
 #      pci*    PCI bus access devices
 #      dpti*   DPT/Adaptec RAID management interface
 #      radio*  radio devices
+#      nsmb*   SMB requester
 #
 
 dialin=0
@@ -188,6 +189,7 @@
        sh $0 ed0 ed1
        sh $0 cir0 cir1 irframe0 irframe1
        sh $0 clockctl
+       sh $0 nsmb0 nsmb1 nsmb2 nsmb3
        ;;
 
 audio)
@@ -966,6 +968,16 @@
        chmod 660 clockctl
        ;;
 
+nsmb*)
+       unit=${i#nsmb}
+       nsmb=nsmb$unit
+       major=88
+       rm -f $nsmb
+       mknod $nsmb c $major $unit
+       chown root.wheel $nsmb
+       chmod 644 $nsmb
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index