summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1999-12-14 22:36:03 +0000
committerjoerg <joerg@FreeBSD.org>1999-12-14 22:36:03 +0000
commitb25aed7d4469bfafd51a1ff8f8b5a28d0db7b54f (patch)
tree9839c5f3ef553cb1a8315ad123f822221cbc0773 /etc
parent1b39d5d377f46180854da60e63f95aa7473d1db6 (diff)
downloadFreeBSD-src-b25aed7d4469bfafd51a1ff8f8b5a28d0db7b54f.zip
FreeBSD-src-b25aed7d4469bfafd51a1ff8f8b5a28d0db7b54f.tar.gz
The target `all' evoluted into a kitchen-sink these days... It's no
longer really suitable as a default to create the various /dev nodes to be contained on the fixit floppy, since all our proud new devide nodes finally made the fixit floppy run over... So instead create a new target titled `fixit' which creates just the dev nodes for a single unit per each default driver; whoever needs more of them is free to create whatever he needs, perhaps after killing unused nodes before. There were more than 700 /dev nodes on the floppy before that action, and it's still around 350 now. I doubt all the various /dev/ugen* entries are really useful on such a tool, so people, please check, and if you feel like more could be eliminated from that floppy, kill'em. While i was at it, removed traces of ft(8) that still survived even though the driver has long since been dead. That's step #1. #2 will follow...
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV57
1 files changed, 35 insertions, 22 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 2facc17..4e09e40 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -32,8 +32,6 @@
# Tapes:
# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge tape
# sa* SCSI Sequential Access Devices
-# ft* QIC-40/QIC-80 3M cartridge tape (interfaced
-# via the floppy disk controller)
#
# Disks:
# acd* ATAPI CD-ROM disks
@@ -227,7 +225,7 @@ all)
sh MAKEDEV wcd0 wfd0 wst0 # bdev, OLD ATAPI devs
sh MAKEDEV vn0 # bdev, virtual disk
sh MAKEDEV cd0 matcd0 mcd0 scd0 # bdev, cdrom
- sh MAKEDEV ft0 sa0 wt0 # bdev, tape
+ sh MAKEDEV sa0 wt0 # bdev, tape
sh MAKEDEV vty12 # cdev, virtual tty
sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial tty
sh MAKEDEV pty0 # cdev, pseudo tty
@@ -249,6 +247,40 @@ all)
sh MAKEDEV i4brbch0 i4brbch1 # cdev, ISDN
;;
+# a much restricted set of the above, to save precious i-nodes on the
+# fixit floppy
+fixit)
+ sh MAKEDEV std # standard
+ sh MAKEDEV fd0 # bdev, floppy disk
+ sh MAKEDEV da0 # bdev, SCSI disk
+ sh MAKEDEV ad0 # bdev, ATA disk
+ sh MAKEDEV acd0 afd0 ast0 # bdev, ATAPI devices
+ sh MAKEDEV wd0 # bdev, OLD disk
+ sh MAKEDEV wcd0 wfd0 wst0 # bdev, OLD ATAPI devs
+ sh MAKEDEV vn0 # bdev, virtual disk
+ sh MAKEDEV cd0 # bdev, cdrom
+ sh MAKEDEV sa0 # bdev, tape
+ sh MAKEDEV vty2 # cdev, virtual tty
+ sh MAKEDEV cuaa0 # cdev, serial tty
+ sh MAKEDEV pty0 # cdev, pseudo tty
+ sh MAKEDEV ttyd0 # cdev, serial tty
+ sh MAKEDEV kbd0 # cdev, keyboard
+ sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
+ sh MAKEDEV lpt0 # cdev, printer
+ sh MAKEDEV ppi0 # cdev, parallel port
+ sh MAKEDEV iic0 # cdev, I2C device
+ sh MAKEDEV smb0 # cdev, SMBus device
+ sh MAKEDEV usb usb0 ums0 ulpt0 ugen0 # cdev, USB devices
+ sh MAKEDEV tun0 # cdev, network
+ sh MAKEDEV ch0 # cdev, miscellaneous
+ sh MAKEDEV apm apmctl card0 # cdev, laptop
+ sh MAKEDEV pass1 xpt1 # cdev, CAM
+ sh MAKEDEV i4b i4bctl i4btrc0 i4btrc1 # cdev, ISDN
+ sh MAKEDEV i4btel0 i4bteld0 # cdev, ISDN
+ sh MAKEDEV i4brbch0 # cdev, ISDN
+ rm -f fd/[1-9]?
+ ;;
+
std)
mknod console c 0 0; chmod 600 console
mknod kmem c 2 1; chmod 640 kmem; chgrp kmem kmem
@@ -473,25 +505,6 @@ fd*)
umask 77
;;
-ft*)
- umask $tape_umask
- unit=`expr $i : '..\(.*\)'`
- name=ft; chr=9
- case $unit in
- 0|1|2|3)
- mknod ${name}${unit} c $chr `expr $unit '*' 64 + 32`
- mknod r${name}${unit} c $chr `expr $unit '*' 64 + 32`
- ln -f ${name}${unit} ${name}${unit}a
- ln -f r${name}${unit} r${name}${unit}a
- chgrp operator ${name}${unit}* r${name}${unit}*
- ;;
- *)
- echo bad unit for tape in: $i
- ;;
- esac
- umask 77
- ;;
-
ad*|afd*|amrd*|da*|fla*|ida*|md*|mlxd*|vn*|wd*|wfd*)
umask $disk_umask
case $i in
OpenPOWER on IntegriCloud