skyeye-testsuite-2.3的问题
在skyeye-testsuite-2.3/linux/目录下创建initrd目录,执行mount -o loop initrd.img initrd命令,并进入。
其中在dev/目录下有个ramdisk文件
# ll dev/ramdisk
lrwxrwxrwx1 root root 3 2005-06-13dev/ramdisk -> ram
请问这个ramdisk是怎么制作的啊?! 谢谢!
只是个链接
#生成ram块设备,主次设备号分别为1,1mknod ram b 1 1
# 建立软链接
ln -s ram ramdisk
# ll
总计 24
drwxr-xr-x 2 root root1024 2005-01-17 bin
drwxr-xr-x 2 root root2048 2004-12-27 dev
drwxr-xr-x 3 root root1024 2004-12-27 etc
drwxr-xr-x 3 root root1024 2004-04-21 home
drwxr-xr-x 2 root root1024 2004-12-26 lib
lrwxrwxrwx 1 root root 11 2005-06-13 linuxrc -> bin/busybox
drwx------ 2 root root 12288 2004-12-26 lost+found
drwxr-xr-x 2 root root1024 2003-02-12 proc
brw-r--r-- 1 root root1, 1 05-04 22:50 ram
lrwxrwxrwx 1 root root 3 05-04 22:51 ramdisk -> ram
drwxr-xr-x 2 root root1024 2004-04-21 root
drwxr-xr-x 2 root root1024 2004-04-29 sbin
drwxr-xr-x 2 root root1024 2004-04-20 tmp
drwxr-xr-x 6 root root1024 2004-06-11 usr
drwxr-xr-x 3 root root1024 2004-04-21 var
[ 本帖最后由 crook 于 2008-5-4 23:02 编辑 ]
页:
[1]