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 2010-01-15, Daniel (Youngwhan) Song <breadncup@xxxxxxxxx> wrote:
> --000e0cd1b072cdfb11047d2a32af
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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.
>
> Thank you,
>
> Dan.
>

The kernel can run even without mounting any file system, and shouldn't rely
on any fs.


--
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