How to use u disk under linux

  
 

U disk operating method under Linux and operating methods under windows system are still somewhat different, if users use the same method to operate under Linux, it will not work, if you want to smoothly run under Linux Using a USB flash drive, some operations on the USB flash drive must be mastered.
How to use a USB flash drive under Linux. In fact, using a USB flash drive under Linux is also a simple matter: 1. First you have to be a root user. 2. Then cd /mnt create a subdirectory under this directory, for example, usb can use the command mkdir usb, we can find such a directory /mnt/usb 3. The next step is to plug in the U disk to computer
On, enter the following command: mount -t vfat /dev/sda1 /mnt/usb Of course, the above parameter -t vfat can also be omitted. 4.cd usb Can you see the contents of the u disk? 5. After using it, don't forget to uninstall: umount /dev/sda1 or umount /mnt/usb also ensure that the current path is no longer in usb, otherwise you may get a warning message for device busy. 6. Ok, just take these steps and you can try it out! If you want to display the Chinese file name correctly, you can use the -o iocharset=cp936 option. mount -t vfat -o iocharset=cp936 /dev/sda1 /mnt/usb t

Copyright © Windows knowledge All Rights Reserved