Re: set_fs

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

 



On Wednesday 04 August 2004 13:23, Brad Dickerson wrote:
> Hi,
>  I was not aware it was evil to call open from a kernel space module.
> Why? Should I use some other function to access the files on disk
> from kernel space? Need the persistence feature of disks in my
> module. thanks,

The more "proper" way to save state is to have a user-space program that 
can save/restore the state of your kernel module.  The sound mixer 
settings are handled this way..

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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