linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: how to create node in Kernel space???
Date: Thu, 08 Dec 2005 14:23:38 +0000	[thread overview]
Message-ID: <20051208142338.GA14279@vrfy.org> (raw)
In-Reply-To: <EF2969FFE97CF846A6A7F1980B8787AA02555420@hstmsg002.corp.satyam.ad>

On Thu, Dec 08, 2005 at 06:20:32PM +0530, Srinivasu_Garimella wrote:
> Hi All,
> 
> I am using 2.6.13 kernel . how to create node(ex : mknod /dev/FIFO c 253
> 0) in kernel space??
> Please suggest me ..

Simple, don't do. Never create files in userspace from inside the kernel.
Use something that triggers an event and let userspace create that file, or
just make sure it is always there, regardless of the kernel state.

Kay


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      reply	other threads:[~2005-12-08 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 12:52 how to create node in Kernel space??? Srinivasu_Garimella
2005-12-08 14:23 ` Kay Sievers [this message]

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=20051208142338.GA14279@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).