Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760078AbYASNtk (ORCPT ); Sat, 19 Jan 2008 08:49:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753866AbYASNtd (ORCPT ); Sat, 19 Jan 2008 08:49:33 -0500 Received: from sovereign.computergmbh.de ([85.214.69.204]:44811 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753473AbYASNtc (ORCPT ); Sat, 19 Jan 2008 08:49:32 -0500 Date: Sat, 19 Jan 2008 14:49:31 +0100 (CET) From: Jan Engelhardt To: Rafael Sisto cc: Linux kernel Subject: Re: new file in kernel. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 680 Lines: 18 On Jan 19 2008 10:42, Rafael Sisto wrote: >Dear forum, >can anybody help me with this issue? > >How do I create a new file in kernel mode? >I am trying to create a file in a system call I am building. http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad Even then, you are a bit too unspecific. A syscall could very well call a filesystem's create function and create a file that way, though it is a very different use-case. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/