Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I was reading linux device drivers and developed a memory driver. I allocate memory with help of Kmalloc and write something to it and free it. But when ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    5

    Memory driver for linux kernel


    Hi All,

    I was reading linux device drivers and developed a memory driver. I allocate memory with help of Kmalloc and write something to it and free it. But when I switch off the power the driver gets vanished. whatever I wrote goes off.

    I want to know the methods/routines so that when i do write it gets stored in the disk and I can retrive it even if system restarts after power off.

    Thanks
    -R/\\/I-

  2. #2
    Just Joined!
    Join Date
    Mar 2012
    Posts
    2
    hi , i think you have written driver dynamically , if you would hav written it as statically it should retrive when system gets restart.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •