0
点赞
收藏
分享

微信扫一扫

linux 系统mount的基本格式及用法

1、

https://help.aliyun.com/knowledge_detail/72719.html?spm=5176.10695662.1996646101.searchclickresult.748f3ea1mxowC4

2、

mount的基本格式为mount [-t vfstype] [-o options] device dir

  • “-t vfstype”指定文件系统的类型,一般文件格式有以下几种。
  • 光盘或光盘镜像:iso9660。
  • DOS fat16文件系统:msdos。
  • Windows 9x fat32文件系统:vfat。
  • Windows NT ntfs文件系统:ntfs。
  • Windows文件网络共享:smbfs。
  • UNIX(LINUX) 文件网络共享:nfs。
  • “-o options”主要用来描述设备或档案的挂载方式,常用的参数有以下几种。
  • loop:用来把一个文件当成硬盘分区挂载在系统上。
  • ro:采用只读方式挂载设备。
  • rw:采用读写方式挂载设备。
  • iocharset:指定访问文件系统所用字符集。
  • vers:对应文件系统的版本。
  • “device”为需要挂载(mount)的设备。
  • dir:设备在系统上的挂载点(mount point)。
举报

相关推荐

0 条评论