How to mount CD and U disk in Linux?

>>> Linux tutorial directory <<<

File system management-2.3 Mount CD and U disk

Write in the front: If you finish the inspection by yourself, there may be some mistakes. If you find something wrong, you can leave a message or private message me below.

1. Mount the disc

  • mkdir /mnt/cdrom
    • Create a mount point
  • mount -t iso9660 /dev/cdrom /mnt/cdrom/
    • Mount CD
  • mount /dev/sr0 /mnt/cdrom/
    • The iso9660 in the CD-ROM drive is the default file system, you can not write

2. Uninstall command

  • umount [device file name or mount point]
    • umount /mnt/cdrom

3. Mount U disk

  • fdisk -l
    • View the file name of the U disk device
  • mount -t vfat /dev/sdb1 /mnt/usb/
    • Linux does not support the NTFS file system by default. Linux recognizes fat16 partition as fat and fat32 partition as vfat.

Write in the back: I hope these explanations will be helpful to you, I hope everyone will like and pay attention to it. Your support is my biggest motivation (๑> ؂ <๑)

Published 366 original articles · praised 68 · 50,000+ views

Guess you like

Origin blog.csdn.net/qq_43479432/article/details/105655591