On 12/01/07, congwen <[EMAIL PROTECTED]> wrote:
Hello everyone, I want to create and read/write a file in Linux kernel or 
device driver,

Don't read/write user space files from kernel space.

Please search the archives, this get asked a lot and it has been
explained a million times why it's a bad idea.
You can also read http://www.linuxjournal.com/article/8110

--
Jesper Juhl <[EMAIL PROTECTED]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to