From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: storing the logs
Date: Mon, 31 Jan 2011 19:39:29 -0800 [thread overview]
Message-ID: <20110201033929.GA6390@kroah.com> (raw)
In-Reply-To: <AANLkTi=khVSm29NiXTzF7BpoMtH5ghWK_C=-h+9YrH=k@mail.gmail.com>
On Mon, Jan 31, 2011 at 11:38:30PM -0200, Mauro Romano Trajber wrote:
> Are you sure you're doing it right ? Reading and writing files from within
> the kernel space is bad thing to do.
> Read this good article about that: http://www.linuxjournal.com/article/8110
> <http://www.linuxjournal.com/article/8110>And if you want to do this
> anyway, there are some pieces of code too ;-)
Yes, but you really don't want to do that.
Seriously.
Don't.
Bad things will happen and no one will be able to help you.
Use a "real" way to get data from the kernel to userspace (netlink,
pseudo-filesystem, device node, etc.)
good luck,
greg k-h
next prev parent reply other threads:[~2011-02-01 3:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 12:54 storing the logs mohit verma
[not found] ` <MDAEMON0917201101311840.AA4039490@fibcom.com>
2011-01-31 13:21 ` Fwd: Permanent Delivery Failure mohit verma
2011-01-31 13:22 ` Fwd: storing the logs mohit verma
2011-01-31 13:28 ` mohit verma
2011-02-01 1:38 ` Mauro Romano Trajber
2011-02-01 3:39 ` Greg KH [this message]
[not found] ` <AANLkTik-RMuZqnafF0N8XheBu1aHCeioUv86zb=d7UKr@mail.gmail.com>
2011-02-06 18:44 ` Fwd: " mohit verma
2011-02-06 18:46 ` mohit verma
2011-02-08 22:59 ` Lutz
2011-02-09 10:06 ` Lutz
2011-02-09 10:48 ` Ashok Babu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110201033929.GA6390@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.