RE: opening files in kernel space?

Noel Burton-Krahn (noel@harleystreet.com)
Fri, 13 Feb 1998 09:42:26 -0800


Good question! sys_open() would be the obvious call, but it isn't exported to modules. Try open_namei() and open_inode().

--Noel

-----Original Message-----
From: Adam Heath [SMTP:adam.heath@usa.net]
Sent: Thursday, February 12, 1998 2:12 PM
To: Linux Kernel
Subject: opening files in kernel space?

How does one do it? I have gotten the sound submodules to autoload, but
awe_wave doesn't quite work. I was thinking of making awe_wave read a default
sound font, and load it onto the card when it is insmod. But I don't know how
to open a file.

Adam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu