使用 /etc/fstab 在啟動(dòng)時(shí)進(jìn)行安裝
對(duì)于恢復(fù)、系統(tǒng)更新和其他特殊目的來(lái)說(shuō),能夠自由地安裝和卸載文件系統(tǒng)是很有幫助的。但是,對(duì)于日常操作,一般希望在每次系統(tǒng)啟動(dòng)時(shí)進(jìn)行固定的一組安裝?梢酝ㄟ^(guò)在文件 /etc/fstab 中建立配置行來(lái)控制引導(dǎo)時(shí)進(jìn)行的安裝。典型的配置如下所示:
清單 4. /etc/fstab 中的配置示例
/dev/hda7 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda9 /home ext3 defaults 1 2 none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 /dev/hda8 swap swap defaults 0 0 |
2015職稱計(jì)算機(jī)考試書(shū)PowerPoint2007中 .. 定價(jià):¥45 優(yōu)惠價(jià):¥42 更多書(shū)籍 | |
2015年全國(guó)職稱計(jì)算機(jī)考試教材(2007模 .. 定價(jià):¥225 優(yōu)惠價(jià):¥213 更多書(shū)籍 |