reading a file in the kernel
reading a file in the kernel
- Subject: reading a file in the kernel
- From: Michael George <email@hidden>
- Date: Wed, 11 Dec 2002 13:48:44 -0500
Looking into the archives, it seems that it is a bad idea to read a
file from the filesystem from inside the kernel. However, I couldn't
find anywhere that it's not possible.
I want to read from a file on disk to initialize a device. It will be
done infrequently, perhaps just once, so if it's a hassle I will
probably live with it. There is then the issue of whether or not the
next release is likely to make it impossible to read from the disk.
I've searched the driver and kernel lists for "kernel file read" and
"file open", but the posts I found didn't answer these questions.
Could someone either give me a pointer to a thread that will give me
the info, perhaps a related string to search for, or the answers to my
questions, I'd appreciate it.
-Michael
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.