⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ramdisk.txt

📁 9200的开发资料:包括uboot
💻 TXT
字号:
(一)查看ramdisk的内容
注:首先需要把ramdisk的扩展名更改为.gz,然后解压
bash$ su 
Password : 
bash$ mkdir /mnt/your_ramdisk_directory 
bash$ mount -o loop your_ramdisk /mnt/your_ramdisk_directory 

Now "your_ramdisk" is mounted and you can access it like this : 
bash$ cd /mnt/your_ramdisk_directory 

(二)修改
You can set up your network interfaces automaticaly at start time just by adding a small file in /etc/rc.d/init.d. we named it interfaces. this file contains the following line : 
ifconfig eth0 ip_address 
what you need to do next is to create a symbolic link to the file interfaces in /etc/rc.d/rc3.d, it goes like this : 
bash$ cd /etc/rc.d/rc3.d 
bash$ ln -s ../init.d/interfaces S20interfaces 


(三)修改完毕
bash$ cd  where_your_ramdisk_file_is 
bash$ umount /mnt/your_ramdisk_directory 
bash$ gzip -c -v9 ramdisk > /tftpboot/ramdisk 



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -