"background updates of print queues via a dedicated process"

Martin Pool mbp at samba.org
Wed Feb 12 06:40:26 GMT 2003

On 12 Feb 2003, Tim Potter <tpot at samba.org> wrote:

> My idea which I've probably told a couple of you is to use kernel
> dnotify stuff to work out when jobs are spooled or removed.  So a
> daemon would get a signal when a spool file is created and add that to
> printing.tdb.  When the file completes spooling lpd deletes it and the
> daemon gets another signal saying that file has deleted.

A problem with that is that it exposes the internals of the lpd to
samba, whereas at the moment they're more or less hidden.  (Consider a
spooler which has nested queue directories, like squid or Postfix.)

But I'll leave space to add this mechanism as well.


More information about the samba-technical mailing list