How to mount U disk in linux

王林
王林Original
2020-05-15 15:18:2110714browse

How to mount U disk in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn