1.命令:mount /dev/xvdb1 /mnthtml
/dev/xvdb1=目錄名 spa
/mnt=目錄htm
注意:若是磁盤名:/dev/xvdb,掛載的時候要加數字1 ,blog
如:mount /dev/xvdb1 /mnt 是正確,ci
mount /dev/xvdb /mnt 是錯誤 ,提示錯誤:mount: you must specify the filesystem typeget
截圖以下:file
2.命令:df -T 只能夠查看已經掛載的分區和文件系統類型。im
參考連接:db
https://help.aliyun.com/document_detail/25426.html?spm=5176.doc25452.2.3.JFHsITimg
https://www.cnblogs.com/youbiyoufang/p/7607174.html