Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
Hi, it is not going to be possible to use pramfs, the leader replied with this, please, tell me what do you think: No. At the moment there isn\'t code ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8

    Hi, it is not going to be possible to use pramfs, the leader replied with this, please, tell me what do you think:

    No. At the moment there isn\'t code in the kernel to mount a
    ready fs image in memory (excluding PRAMFS). However if you
    must use FAT, I think you can write a new kernel module to
    re-map a specific memory region and to create a new block
    device. At that time, you can mount the block device as FAT.
    Obviously, all work if the piece of RAM you use, it isn\'t
    used by SUSE kernel. I mean that piece of RAM must be marked
    as reserved in someway, so if the ram disk is 1MB and you
    use 512MB of RAM, the SUSE kernel must use 511MB of RAM. You
    can use mem or memmap parameter to do a thing like that.

  2. #12
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Too bad you can't use his work. Sounds like you'll have to roll your own solution (unless somebody else out there has ideas...)

    You can read the basics of memmap in your kernel source, e.g.:
    Code:
    /usr/src/kernels/linux-X.X.XX/Documentation/kernel-parameters.txt
    or just google them, e.g.:

    Linux kernel parameters

    I've only used it to reserve memory for other apps that already knew how to use it, so I can't be of much more help.

    Good luck!

  3. #13
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8
    Thank you very much!

    Do you know of any other place where I could find help? Any other forum or community specialized in these kind of issues?

    Thank you very much

    BR

    Daniel

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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