Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262235AbVAJNav (ORCPT ); Mon, 10 Jan 2005 08:30:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262250AbVAJNav (ORCPT ); Mon, 10 Jan 2005 08:30:51 -0500 Received: from web52210.mail.yahoo.com ([206.190.39.92]:23929 "HELO web52210.mail.yahoo.com") by vger.kernel.org with SMTP id S262235AbVAJNaq (ORCPT ); Mon, 10 Jan 2005 08:30:46 -0500 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=bc/it5vgfSIIw8SUztlKo7ZxSpMvBMGU1+xp9OvTzxnjZvdbM5faRZOrsQLPkibXf/AhZh1BUdGrMsLxVH7c54tUZHDqCTwtQTtoDfClCICmoHGBIbRZxOCRht3tdW0M8BI/UfqpEBxWnMQ7GbVqbzkE0YMSwcUwJ7CTdKCpsqs= ; Message-ID: <20050110133046.61383.qmail@web52210.mail.yahoo.com> Date: Mon, 10 Jan 2005 05:30:45 -0800 (PST) From: linux lover Subject: How to read file in kernel module? To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 636 Lines: 20 I want to read file in kernel module. can anybody help me by giving code for that? Also whats suitable way to do that in kernel /proc or shared memory? what i want is to read and write a user file frequently. regards, linux_lover __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 - 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/