summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-01-23 11:40:10 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-01-23 11:40:10 +0000
commitd391e2ce0f664716b3bfbbeb02e650e15b24323f (patch)
tree9a030c15632bed3c387a4262811b52f5506d2d3c /etc/MAKEDEV
parente8782df8c94dc921773ef1a187f46041ea8c8a94 (diff)
downloadFreeBSD-src-d391e2ce0f664716b3bfbbeb02e650e15b24323f.zip
FreeBSD-src-d391e2ce0f664716b3bfbbeb02e650e15b24323f.tar.gz
Add the unlpt\d+ device to MAKEDEV. It is the same as ulpt\d+, except
that it does not reset the printer when opened. This fixes the problem of printing a document almost till the end and then resetting the printer when the next print job is started. Submitted by: Christopher Masto <chris@netmonger.net> Also, remove all but the ums0 device from the fixit target 'to save precious i-nodes on the fixit floppy'.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 48a84a3..dde4592 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -281,7 +281,7 @@ fixit)
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 ums0 # cdev, USB devices
sh MAKEDEV tun0 # cdev, network
sh MAKEDEV ch0 # cdev, miscellaneous
sh MAKEDEV apm apmctl card0 # cdev, laptop
@@ -900,7 +900,10 @@ ums*)
ulpt*)
unit=`expr $i : 'ulpt\(.*\)'`
- mknod ulpt$unit c 113 $unit
+ minor=$unit
+ mknod ulpt$unit c 113 $minor
+ minor=`expr $unit + 64`
+ mknod unlpt$unit c 113 $minor # and the 'no prime' version
;;
ugen*)
OpenPOWER on IntegriCloud