make usb accessible by mounting it on Linux

  1. fdisk -l 查看设备分区
  2. mkdir /mnt/usb 创建挂载文件夹


Disk /dev/sda: 113 GiB, 121332826112 bytes, 236978176 sectors

Device Start End Sectors Size Type

  • /dev/sda1 40 409639 409600 200M EFI System
  • /dev/sda2 409640 205144991 204735352 97.6G Apple Core storage
  • /dev/sda3 205144992 206414527 1269536 619.9M Apple boot
  • /dev/sda4 206414528 207439871 1025344 500.7M Microsoft basic data
  • /dev/sda5 207439872 236978142 29538271 14.1G Linux filesystem

Disk /dev/sdc: 7.5 GiB, 8011120640 bytes, 15646720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type

/dev/sdc1 * 1449728 15646719 14196992 6.8G c W95 FAT32 (LBA)

  1. mount /dev/sdc1 /mnt/usb 找到u盘后挂载在刚创建的文件夹上
    It is accessible using terminal now!
    cd /mnt/usb

  2. umount /mnt/usb 解挂载这个文件夹

你可能感兴趣的:(make usb accessible by mounting it on Linux)