zoukankan      html  css  js  c++  java
  • linux 挂载外部存储设备 (mount)

    linux 挂在外置设备相关
    挂载时,前面是需要挂载的目录,后面是target,target目录可以不为空,当挂载成功之后target目录中的原有数据不可见,直到卸载挂载设备
    一、光驱
      mount -t iso9660 /dev/cdrom /mnt    // 将光驱中的数据挂载到 /mnt目录下

    二、U盘/fat格式
      mount -t vfat /dev/sda1 /mnt /usb    // 假设U盘硬件名称为:sda1

    三、NTFS格式
      一般情况下linux不能识别NTFS格式(除非内核支持该文件系统)
      想要挂载NTFS格式的文件,需要通过其他软件帮助——ntfs-3g
      下载地址:http://www.tuxera.com/community/ntfs-3g-download/
      Download
        到该页面首先下载相应文件,然后解压文件
      Installation:
          ./configure
          make
          make install    # or 'sudo make install'
      Usage
          mount -t ntfs-3g /dev/sda1 /mnt/windows

  • 相关阅读:
    Python基础篇 -- 列表
    Python基础篇 -- 字符串
    Python基础篇 -- if while 语句
    Python基础篇 -- 运算符和编码
    Python 入门基础
    Docker知识收藏
    秒表
    Emac
    Android开发
    shell 小工具
  • 原文地址:https://www.cnblogs.com/SunChina/p/2108794.html
Copyright © 2011-2022 走看看