how to mount /dev/ram0 to /

tony hangtoo at 163.com
Sat May 13 16:21:56 EST 2006


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





More information about the Linuxppc-embedded mailing list