LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   The problem is mount ramfs in linux kernel 2.4.8 (https://www.linuxquestions.org/questions/linux-hardware-18/the-problem-is-mount-ramfs-in-linux-kernel-2-4-8-a-420236/)

GLF2000 02-28-2006 04:07 AM

The problem is mount ramfs in linux kernel 2.4.8
 
Hello,

I use linux kernel 2.4.18, where I do not mount ramfs.

I think that my config file is not correct.

jomen 03-01-2006 07:35 PM

...might be - show us?

GLF2000 03-02-2006 03:41 AM

my config file
 
MY config file is too long.

The forums show me that the text that you have entered is too long (28740 characters)and shorten it to 25000 characters long.


Please tell me what important modules are related to ramfs.

jomen 03-02-2006 04:36 AM

Quote:

where I do not mount ramfs
I was thinking /etc/fstab...
But you really mean: what do I have to select in kernel-config to have support for it - right?

There are a few alternatives to "make config"
1. make menuconfig
2. make xconfig
and possibly others

The advantage - you have a help text available with each option and don't have to go through the whole config sequentially and without a clue what means what.
Try that!

I believe you where looking for: General setup -> Initramfs source file(s).

BTW: it's better to tell what you want to achieve as a result of having "ramfs" - you might be searching in the wrong direction - and we along with you because of how you asked the question.

GLF2000 03-02-2006 07:32 AM

There are a few alternatives to "make config"
I use "make menuconfig".

General setup -> Initramfs source file(s).
I use linux kernel 2.4.18, but I do not find the "Initramfs source file" with "make menuconfig".

jomen 03-02-2006 07:48 AM

Quote:

BTW: it's better to tell what you want to achieve as a result of having "ramfs"
General setup -> Initramfs source file(s) - is this what you want? What do you want?
And - there is a search-function in make menuconfig:
SHIFT+/ takes you to a search form where you can enter what you are looking for and it will show you where exactly you will find the items matching your query.
I would have told you but I don't have a 2.4.x kernel anymore - so I cannot look.

maroonbaboon 03-02-2006 11:33 PM

If you have an empty directory somewhere, say /mnt/ram you can try (as root)

# mount -t ramfs none /mnt/ram

If this succeeds you will have a ramdisk at /mnt/ram. You can check it is not a normal fs by making a directory in /mnt/ram and checking the size with 'ls -l'. The size should show as zero.

Not sure if this answers your question tho'.

I believe initramfs is something entirely different, and concerns the linux boot process only.


All times are GMT -5. The time now is 06:46 AM.