Re: Why the linux does not allow the access to a file in the device driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 14, 2010 at 05:48:21PM -0800, Daniel (Youngwhan) Song wrote:
> Hi,
> 
> Could somebody help me to understand the reason why the linux kernel does
> not allow the access to a file in the device driver? For example, for
> debugging purpose, if a device driver want to log some data in a file by
> using open/write/read method like in user application, how a driver can
> access to a file in a specific filesystem? Any comment or docs or web pages
> would be appreciated.

Please read the documentation at kernelnewbies.org for why this is so.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux