From owner-freebsd-questions Sat Feb 9 3:44:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web21412.mail.yahoo.com (web21412.mail.yahoo.com [216.136.232.81]) by hub.freebsd.org (Postfix) with SMTP id D9D2937B402 for ; Sat, 9 Feb 2002 03:44:18 -0800 (PST) Message-ID: <20020209114418.85972.qmail@web21412.mail.yahoo.com> Received: from [61.11.21.241] by web21412.mail.yahoo.com via HTTP; Sat, 09 Feb 2002 03:44:18 PST Date: Sat, 9 Feb 2002 03:44:18 -0800 (PST) From: abhijit vaidya Subject: Kernel File I/O To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1553863456-1013255058=:85783" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --0-1553863456-1013255058=:85783 Content-Type: text/plain; charset=us-ascii Hi all, I want to access a file "/usr/cache" which is a file created by me in /usr. I want to write some data into it through kernel space. I want to do file I/O from kernel. Please tell me what should i use? i mean how to use open and write system calls in kernel to access files. Thanking alll in anticipation, Yours Sincerely, Abhijit Vaidya. --------------------------------- Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! --0-1553863456-1013255058=:85783 Content-Type: text/html; charset=us-ascii

Hi all,

    I want to access a file "/usr/cache" which is a file created by me in /usr. I want to write some data into it through kernel space. I want to do file I/O from kernel. Please tell me what should i use? i mean how to use open and write system calls in kernel to access files.

Thanking alll in anticipation,

Yours Sincerely,

Abhijit Vaidya.



Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings! --0-1553863456-1013255058=:85783-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message