From e9ea2dfc2fb96afead2bd88524b7a31bc27d3ba1 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Sun, 23 Jan 2000 11:40:10 +0000 Subject: 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 Also, remove all but the ums0 device from the fixit target 'to save precious i-nodes on the fixit floppy'. --- etc/MAKEDEV | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 48a84a33d5e6..dde4592aa824 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*) -- cgit v1.3