Skip to contentSkip to conversation

how to mount /dev/ram0 to /

DISCUSSION tony 2 participants 2 messages May 12, 2006

lore
Share & tools
lore

tony

author
#0 lore raw

I made a new uRamdisk for the mini bubinga board,
change uboot's bootargs like this
bootargs root=/dev/ram rw console=ttyS0,115200 ip=192.168.0.200:192.168.0.19:::bubinga:eth0:off panic=1 ==>
bootargs root=/dev/ram0 rw console=ttyS0,115200 ip=192.168.0.200:192.168.0.19:::bubinga:eth0:off panic=1

after boot up,excute df to see the mount point:
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
~ #
nothing was mounted.
the fatab in /etc is like this:

/dev/ram0               /               ext2    defaults        1 1
none                    /proc           proc    defaults        0 0

anything wrong?
thank you.

tony

#1 lore raw
Quoted 6 lines · In message <44645CBD.00AAC3.19405> you wrote:

after boot up,excute df to see the mount point:
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
~ #
nothing was mounted.

Your rc scripts probably did not care to update /etc/mtag as needed.

Check what "cat /proc/mounts" gives.

Quoted 5 lines

the fatab in /etc is like this:

/dev/ram0               /               ext2    defaults        1 1
none                    /proc           proc    defaults        0 0

anything wrong?

Probably no part of your rc scripts did anything with the information in /etc/fstab ...

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Perl itself is  usually  pretty  good  about  telling  you  what  you
shouldn't do. :-)     - Larry Wall in <[email protected]>