( zamboriz | 2012. 03. 10., szo – 08:52 )

Valaminek "érzékelnie" kell, hogy a fifo-t megnyitották olvasásra. Ez máris egy "alkalmazás", aminek ugye folyamatosan futnia kell. Tehát: nem.

Ez a figyelő alkalmazás később elindíthatja a fifo-hoz kapcsolva a "valódi" alkalmazást, ami ugye eddig nem futott, most meg az igényre válaszul elindul. Tehát: igen.


UNIX Domain Sockets
     In addition to running services on IP sockets, inetd can also manage UNIX
     domain sockets.  To do this you specify a protocol of "unix" and specify
     the UNIX domain socket as the service-name.  The service-type may be
     "stream" or "dgram".  The specification of the socket must be an absolute
     path name, optionally prefixed by an owner and mode of the form
     :user:group:mode:.  The specification:

	   :news:daemon:220:/var/run/sock

     creates a socket owned by user "news" in group "daemon" with permissions
     allowing only that user and group to connect.  The default owner is the
     user that inetd is running as.  The default mode only allows the socket's
     owner to connect.