Linux problems solved today c2 - 20071008 0 Comments 利用/etc/rc.d/rc.local,开机挂载文件系统。 ``` [lax@localhost ~]$ cat /etc/rc.d/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # mount Fedora-7-i386-DVD.iso -by lax- echo $'\n' echo "========================="; echo "Mounting F-7-i386-DVD.iso"; echo "========================="; mount /mnt/6d/fedora/F-7-i386-DVD.iso /mnt/7var/Server/ftp/pub/soft-open.source/fedora/lax-F-7-i386-DVD.iso/ -t iso9660 -o loop; echo $'\n'; echo "========================="; echo " Mounting Finished "; echo "========================="; df -h; # mount succeed. ```

公众号推荐

知识分享行动
每天 10:24
只聊技术细节
扫码立即参与
知识分享行动