The specific steps are as follows:
1. Log in as root user
Load the USB module first
modprobe usb-storage
Use fdisk -l to see Look at the U disk device.
Suppose the U disk is sda1.
2. Make sure the folder /usb_disk is created under the directory /mnt. If it is not created, execute the following command
mkdir /mnt /usb_disk
3. To mount the U disk, type the following command:
mount /dev/sda /mnt/usb_disk
After success, you can use the USB disk, and the file is in the directory /mnt/usb.
Recommended tutorial: linux tutorial
The above is the detailed content of How to mount U disk in linux. For more information, please follow other related articles on the PHP Chinese website!