Re: Mounting l4linux ramdisk

Matthias Lange <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

On 02/09/2015 06:35 AM, Harini Balachandran wrote:
> I am trying to execute a hello world application on l4 linux.I generated
> hello.ko file.What is the procedure to mount the l4linux ramdisk and how
> to copy my .ko file to it.

Are you sure that a kernel module is the right thing as a hello world
application?

> I gave the following command on the l4linux command prompt.
> 
> [root]# mkdir /mnt/rd
> [root]# mount /dev/ram0 /mnt/rd
> 
> mount:mounting /dev/ram0 on /mnt/rd failed:no such file or directory.

Instead of /dev/ram0 you need to specify the file name of your ramdisk.
You also need to mount the ramdisk via a loopback device using '-o loop'.

Matthias.


-- 
Matthias Lange, [email protected], +49 - 351 - 41 88 86 14

Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
Geschäftsführer: Dr.-Ing. Michael Hohmuth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.