Re:Re: how to mount /dev/ram0 to /

From: tony <hidden>
Date: 2006-05-13 06:23:35

linuxppc-embedded
quoted
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.
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help