Linux 的磁盤掛載使用 mount
命令,卸載使用 umount
命令。
磁盤掛載語法:
mount [-t 文件系統(tǒng)] [-L Label名] [-o 額外選項(xiàng)] [-n] 裝置文件名 掛載點(diǎn)
用默認(rèn)的方式,將剛剛創(chuàng)建的 /dev/hdc6 掛載到 /mnt/hdc6 上面!
[root@www ~]# mkdir /mnt/hdc6 [root@www ~]# mount /dev/hdc6 /mnt/hdc6 [root@www ~]# df Filesystem 1K-blocks Used Available Use% Mounted on .....中間省略..... /dev/hdc6 1976312 42072 1833836 3% /mnt/hdc6
磁盤卸載命令 umount
語法:
umount [-fn] 裝置文件名或掛載點(diǎn)
選項(xiàng)與參數(shù):
卸載/dev/hdc6
[root@www ~]# umount /dev/hdc6
![]() | ![]() .. 定價(jià):¥133 優(yōu)惠價(jià):¥133.0 更多書籍 |
![]() | ![]() .. 定價(jià):¥124 優(yōu)惠價(jià):¥124.0 更多書籍 |