-
First use to switch to the root user.
-
Use the fdisk -l command to view the disk information and find the U disk (can be determined according to the displayed size)
-
Create a mount point under /mnt, for example, create a usb directory: mkdir /mnt/usb
-
Use mount to mount the USB disk, such as running: mount /dev/sdb /mnt/usb
-
Sometimes the file name displayed on the loaded USB flash drive is garbled. In such a situation, you need to specify the encoding when mounting the USB flash drive, such as the following command to mount: mount -o iocharset=utf8 /dev/sdb /mnt /usb
or mount /dev/sda1 /mnt/usb_disk -o utf8=1 -
After the mounting is complete, you can access the contents of the U disk and perform related operations with cd /mnt/usb
-
Uninstall the USB disk using: umount /mnt/usb
-
Delete the mount point created: rm -rf /mnt/usb
The problem of garbled Chinese characters when mounting U disk under LINUX
Guess you like
Origin blog.csdn.net/coinv2014/article/details/110109072
Recommended
Ranking