aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-12-26 15:44:06 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-12-26 15:44:06 +0000
commit0e2b10ac7f2daefed38cabe592fa8a7b2ab9f35c (patch)
tree87d668f15c62326c9a5a5ccd64a5fc4c1c08a544 /etc
parent8908973ae2ee607e62a76b324a69879b32c78025 (diff)
downloadsrc-0e2b10ac7f2daefed38cabe592fa8a7b2ab9f35c.tar.gz
src-0e2b10ac7f2daefed38cabe592fa8a7b2ab9f35c.zip
Now that smbfs is fully integrated into the base system, create
/dev/nsmb* device nodes, which used to be done by the port installation. PR: 33068 Submitted by: Dimitry Andric <dim@xs4all.nl>
Notes
Notes: svn path=/head/; revision=88495
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 137c42f87fca..deeef912f8be 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -152,6 +152,7 @@
# 3dfx* 3dfx voodoo device for glide (tdfx) (/dev/3dfx,3dfxN,voodoo)
# agpgart AGP interface
# cfs* Coda Distributed Filesystem
+# nsmb* SMB/CIFS protocol interface
#
if [ -n "$MAKEDEVPATH" ]; then
@@ -338,6 +339,7 @@ all)
sh $0 i4btel0 i4btel1 i4bteld0 i4bteld1 # ISDN
sh $0 i4brbch0 i4brbch1 # ISDN
sh $0 agpgart # AGP
+ sh $0 nsmb0 # SMB/CIFS
;;
# a much restricted set of the above, to save precious i-nodes on the
@@ -1814,6 +1816,11 @@ cfs*)
mknod cfs$unit c 93 $unit root:operator
;;
+nsmb*)
+ unit=`expr $i : 'nsmb\(.*\)'`
+ mknod nsmb$unit c 144 $unit
+ ;;
+
local)
umask 0 # XXX should be elsewhere
sh $0.local