linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* how to mount /dev/ram0 to /
@ 2006-05-12  9:43 tony
  2006-05-12 10:09 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: tony @ 2006-05-12  9:43 UTC (permalink / raw)
  To: linuxppc-embedded@ozlabs.org


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to mount /dev/ram0 to /
  2006-05-12  9:43 how to mount /dev/ram0 to / tony
@ 2006-05-12 10:09 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-05-12 10:09 UTC (permalink / raw)
  To: tony; +Cc: linuxppc-embedded@ozlabs.org

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.

> 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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Perl itself is  usually  pretty  good  about  telling  you  what  you
shouldn't do. :-)     - Larry Wall in <11091@jpl-devvax.JPL.NASA.GOV>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to mount /dev/ram0 to /
  2006-05-13  6:21 tony
@ 2006-05-13 13:47 ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2006-05-13 13:47 UTC (permalink / raw)
  To: tony; +Cc: linuxppc-embedded

In message <44657B5A.00FD1A.21222> you wrote:
> 
> >Probably no part of your rc scripts did anything with the information
> >in /etc/fstab ...
> ------------------------>> 
> 	but,isn't it auto excuted? 

Who should "auto execute"  it  if  not  one  of  your  rc  scripts???
("execute"  being  a  bad  term, as the file is neither an executable
itself not any kind of script - it's just a config file).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Alles Gescheite ist schon gedacht worden, man muß nur versuchen,
es noch einmal zu denken.          -- Goethe, Maximen und Reflexionen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to mount /dev/ram0 to /
@ 2006-05-15  9:45 tony
  0 siblings, 0 replies; 4+ messages in thread
From: tony @ 2006-05-15  9:45 UTC (permalink / raw)
  To: linuxppc-embedded@ozlabs.org


SSByZWJ1aWxkIHRoZSBidXp5Ym94LGFuZCBhZGRlZCBzb21lIHRvb2xzKGxpa2UgZG9zMnVuaXgs
c3R0eSx1bml4MmRvcyxkYyxsb2Fka21wKSAsdGhlbiBpdCB3b3Jrcyhtb3VudCAvZGV2L3JhbTAg
YXV0b21hdGljYWxseSksbWF5YmUgaXQncyBzb21ldGhpbmcgYWJvdXQgdGhlIHRvb2xzIGFib3Zl
Lg0KDQp0aGFuayBXb2xmZ2FuZyBEZW5rIGFuZCBhbGwuLg0KDQqhoaGhoaGhoaGhoaGhoaGhdG9u
eQ0KoaGhoaGhoaGhoaGhoaGhoWhhbmd0b29AMTYzLmNvbQ0KoaGhoaGhoaGhoaGhoaGhoaGhoaEy
MDA2LTA1LTE1DQo=

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-15 10:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12  9:43 how to mount /dev/ram0 to / tony
2006-05-12 10:09 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2006-05-13  6:21 tony
2006-05-13 13:47 ` Wolfgang Denk
2006-05-15  9:45 tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).