Exclusive lock on /dev/null
Guy Harris
auspex!guy at uunet.uu.net
Sun Jul 8 10:12:24 AEST 1990
>I had the same problem when we upgraded to Sun OS 4.0.3 - I worked around
>it by creating a device for each printer which has the same major and
>minor device number as /dev/null,
The same issue came up on the "sun-managers" list; one of the
correspondents (not a relative, as far as I know :-)) claims there is an
even easier solution:
X-From: Michael Harris - NYC SE <uunet!east.sun.com!michael.harris>
X-Subject: Re: Lock on /dev/null
...
Make the lp entries in printcap null instead of /dev/null or dummy files
like this:
ps|lp|lw|postscript|PostScript:\
:lp=:\
:rm=lprhost:\
:rp=lp:\
:sd=/var/spool/ps:\
:lf=/var/spool/ps/ps-log:
It works fine.
HTH
mh
More information about the Comp.sys.sun
mailing list