Re: Documentation on NFS daemon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ahmed A (ahmedcali@yahoo.com) wrote:
> Hi,
> 
> If a daemon is not listening on a port, how is it's
> services used  (accessed) - is it similar to a module
> interface, i.e. register file_op structure?

This completely depends on the service.  You just need some way to
communicate your service needs to the daemon.  In userspace this is
typically via sockets (AF_INET or AF_UNIX), named pipes, messsage
queues, dropping files into spool directories, sending signals, etc.
(bacially, you name it, and people have used it).  In kernelspace,
some kernel threads that you could consider as daemons are given work
by simply adding a request directly to their request queue.

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux