diff options
author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-01-23 11:40:10 +0000 |
---|---|---|
committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-01-23 11:40:10 +0000 |
commit | e9ea2dfc2fb96afead2bd88524b7a31bc27d3ba1 (patch) | |
tree | a272b047e7f3a5cd0077ee350d26af79c65a50b2 /etc | |
parent | a8f8e0bd0396ef65e703247833841f48025d8ef9 (diff) | |
download | src-e9ea2dfc2fb96afead2bd88524b7a31bc27d3ba1.tar.gz src-e9ea2dfc2fb96afead2bd88524b7a31bc27d3ba1.zip |
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'.
Notes
Notes:
svn path=/head/; revision=56438
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 7 |
1 files changed, 5 insertions, 2 deletions
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*) |