2008-11-21 01:41:33     starting location of the file in RAMFS

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-21 01:41:33     starting location of the file in RAMFS

Sada M (INDIA)

Message: 65647   

 

Hi,

 

We have build a kernal with some files inside RAMFS.

 

1. How to find the starting address ( where the file stored in RAMFS address space ) of the files in RAMFS. ?

 

2. Wil this file will be stored in Contigeous memory locations incase if the file not updated during runtime ?

 

 

 

Regards,

 

Sada.

 

 

QuoteReplyEditDelete

 

 

2008-11-21 09:09:23     Re: starting location of the file in RAMFS

Mike Frysinger (UNITED STATES)

Message: 65685   

 

you can try mmap-ing it.  if that doesnt work, then the answer is no to both your questions.

Attachments

    Outcomes