[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mailer daemons in kernel
On 2/28/06, sunny chawla <sun4udee@xxxxxxxxx> wrote:
> Hi
> I am writing a kernel module and I want to send the messages logged by my
> module to a user specified mail-id. I heard that mailer daemons in the
> kernel can be used for this. Can anyone specify more details???
Mailer deamons inside the kernel!?! You serious? Why don't you just
export the data from your module to a buffer that can be accessed in
user space (via relayfs perhaps) and then have a process in userspace
that periodically selects() on the buffer (which is probably a file)
and sends out an email to the ``user specified mail-id")?
Having a mailer daemon inside the kernel, would at best, be described
as a bizarre feature.
./hareesh
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/