summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-05-24 23:49:49 +0000
committermsmith <msmith@FreeBSD.org>2000-05-24 23:49:49 +0000
commit918f25d617f3822f45c64770cc97ab5c7e9a0b69 (patch)
tree3aadf35b232c026b88ec0572f89faf9f2262866d /etc/MAKEDEV
parentf37743b82d3ebea3c095e64915f31e0c6fe342b6 (diff)
downloadFreeBSD-src-918f25d617f3822f45c64770cc97ab5c7e9a0b69.zip
FreeBSD-src-918f25d617f3822f45c64770cc97ab5c7e9a0b69.tar.gz
Learn how to create device nodes for the 'twe' devices.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV15
1 files changed, 11 insertions, 4 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index df2ec88..064466a 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -363,7 +363,7 @@ wt*)
;;
# Individual slices.
-ad*s*|afd*s*|amrd*s*|da*s*|fla*s*|idad*s*|md*s*|mlxd*s*|vn*s*|wd*s*|wfd*s*)
+ad*s*|afd*s*|amrd*s*|da*s*|fla*s*|idad*s*|md*s*|mlxd*s*|twed*s*|vn*s*|wd*s*|wfd*s*)
umask $disk_umask
case $i in
ad*s*) name=ad; chr=116;;
@@ -374,12 +374,13 @@ ad*s*|afd*s*|amrd*s*|da*s*|fla*s*|idad*s*|md*s*|mlxd*s*|vn*s*|wd*s*|wfd*s*)
idad*s*) name=idad; chr=109;;
md*s*) name=md; chr=95;;
mlxd*s*) name=mlxd; chr=131;;
+ twed*s*) name=twed; chr=147;;
vn*s*) name=vn; chr=43;;
wd*s*) name=wd; chr=3;;
wfd*s*) name=wfd; chr=87;;
esac
case $i in
- amrd*s*|mlxd*s*|idad*s*)
+ amrd*s*|idad*s*|mlxd*s*|twed*s*)
unit=`expr $i : '....\([0-9]*\)s'`
slice=`expr $i : '....[0-9]*s\([0-9]*\)'`
part=`expr $i : '....[0-9]*s[0-9]*\(.*\)'`
@@ -544,7 +545,7 @@ fd*)
umask 77
;;
-ad*|afd*|amrd*|da*|fla*|idad*|md*|mlxd*|vn*|wd*|wfd*)
+ad*|afd*|amrd*|da*|fla*|idad*|md*|mlxd*|twed*|vn*|wd*|wfd*)
umask $disk_umask
case $i in
ad*) name=ad; chr=116;;
@@ -555,12 +556,13 @@ ad*|afd*|amrd*|da*|fla*|idad*|md*|mlxd*|vn*|wd*|wfd*)
idad*) name=idad; chr=109;;
md*) name=md; chr=95;;
mlxd*) name=mlxd; chr=131;;
+ twed*) name=twed; chr=147;;
vn*) name=vn; chr=43;;
wd*) name=wd; chr=3;;
wfd*) name=wfd; chr=87;;
esac
case $i in
- amrd*|mlxd*|idad*)
+ amrd*|idad*|mlxd*|twed*)
unit=`expr $i : '....\(.*\)'`
;;
afd*|fla*|wfd*)
@@ -1541,6 +1543,11 @@ mlx*)
mknod mlx$unit c 130 $unit
;;
+twe*)
+ unit=`expr $i : 'twe\(.*\)'`
+ mknod twe$unit c 146 $unit
+ ;;
+
local)
umask 0 # XXX should be elsewhere
sh MAKEDEV.local
OpenPOWER on IntegriCloud