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...
This commit is contained in:
joerg 1999-12-14 22:36:03 +00:00
parent 1b39d5d377
commit b25aed7d44

View File

@ -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