Subject: port-amiga/29066: Enabled nsmb device for mount_smbfs
To: None <port-amiga-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <netbsd@wolfnode.de>
List: netbsd-bugs
Date: 01/24/2005 20:38:00
>Number:         29066
>Category:       port-amiga
>Synopsis:       Enabled nsmb device for mount_smbfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amiga-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 24 20:38:00 +0000 2005
>Originator:     Florian Stoehr
>Release:        current
>Organization:
n/a
>Environment:
n/a
>Description:
The MAKEDEV.conf and majors.amiga do not contain the nsmb device required for mounting SMB file systems via mount_smbfs(8)
>How-To-Repeat:
Invoke mount_smbfs without the diff
>Fix:
Diffs for MAKEDEV.conf and majors.amiga included.
Maybe also add (commented-out?) 

file-system     SMBFS           # experimental - CIFS; also needs nsmb (below)
pseudo-device   nsmb            # experimental - SMB requester

to kernel config files.

Diffs follow:

Index: etc/etc.amiga/MAKEDEV.conf
===================================================================
RCS file: /cvsroot/src/etc/etc.amiga/MAKEDEV.conf,v
retrieving revision 1.7
diff -u -r1.7 MAKEDEV.conf
--- etc/etc.amiga/MAKEDEV.conf	22 Dec 2003 22:26:32 -0000	1.7
+++ etc/etc.amiga/MAKEDEV.conf	24 Jan 2005 20:13:34 -0000
@@ -15,6 +15,7 @@
 	makedev audio
 	makedev scsibus0 scsibus1 scsibus2 scsibus3
 	makedev isdns
+	makedev nsmb
 	;;
 
 floppy)


Index: sys/arch/amiga/conf/majors.amiga
===================================================================
RCS file: /cvsroot/src/sys/arch/amiga/conf/majors.amiga,v
retrieving revision 1.13
diff -u -r1.13 majors.amiga
--- sys/arch/amiga/conf/majors.amiga	10 Dec 2003 02:04:00 -0000	1.13
+++ sys/arch/amiga/conf/majors.amiga	24 Jan 2005 20:16:24 -0000
@@ -61,6 +61,8 @@
 device-major	wsfont		char 62			wsfont
 device-major	wsmux		char 63			wsmux
 
+device-major	nsmb		char 66			nsmb
+
 # Majors up to 143 are reserved for machine-dependant drivers.
 # New machine-independant driver majors are assigned in 
 # sys/conf/majors.