linux 挂载(mount)磁盘

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

相关文章
相关标签/搜索