[pups] LP on Unix 6th Ed?

John Holden johnh at psych.usyd.edu.au
Fri Apr 6 09:21:03 AEST 2001


The lp driver usually had a major device number of 2, so 'mknod /dev/lp c 2 0'
should work, but the kernel may not have been built to support line printers.

Check in /usr/sys/conf/c.c for an entry in the 'cdevsw' table for the
'lp' entries (and the major device position). If there are null entries,
either edit c.c, compile it and relink the kernel, or edit the 'run' script
in /usr/sys/conf/ and add 'lp' after the 'mkconf' (but before the 'done')
and run the script to rebuilt the kernel.



Received: (from major at localhost)
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id OAA42567
	for pups-liszt; Fri, 6 Apr 2001 14:19:22 +1000 (EST)
	(envelope-from owner-pups at minnie.cs.adfa.edu.au)


More information about the TUHS mailing list