From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 08 Dec 2005 14:23:38 +0000 Subject: Re: how to create node in Kernel space??? Message-Id: <20051208142338.GA14279@vrfy.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id865&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