linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re:Re: how to mount /dev/ram0 to /
@ 2006-05-13  6:21 tony
  2006-05-13 13:47 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: tony @ 2006-05-13  6:21 UTC (permalink / raw)
  To: linuxppc-embedded


linuxppc-embedded
>> 
>> 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.
____________________________>>>>
	cat /proc/mounts, it gives:
	# cat /proc/mounts
	rootfs / rootfs rw 0 0        
	/dev/root / ext2 rw,nogrpid 0 0
	/proc /proc proc rw,nodiratime 0 0
	#
    by seeing this,so I make a root in /dev dir, it links to /dev/ram0,but still doean't work.
>> 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 ...
------------------------>> 
	but,isn't it auto excuted? 

thanks and regards,

tony

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: how to mount /dev/ram0 to /
@ 2006-05-15  9:45 tony
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* how to mount /dev/ram0 to /
@ 2006-05-12  9:43 tony
  2006-05-12 10:09 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

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

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

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).