1024programmer Linux How to mount U disk under linux-linux operation and maintenance

How to mount U disk under linux-linux operation and maintenance

How to mount the U disk under linux: 1. Create a mount directory under the mnt directory; 2. Insert the U disk and execute the [mount -t vfat /dev/sdb /mnt/usb] command to mount 3. Enter the mount directory and check whether the mount is successful.

Environment:

linux operating system

First of all, you have to ensure that the format of your U disk is fat format .

(Video tutorial recommendation: linux video tutorial)

First enter the /mnt/ directory and create a new usb directory

cd /mnt/
 mkidr usb

First fdisk -l, then plug in the U disk, fdisk -l

Check if there is a new hard disk added?

Then perform the mount

mount -t vfat /dev/sdb /mnt/usb

here- t vfat refers to the fat format, /dev/sdb refers to the U disk, /mnt/usb is the place to mount

cd /mnt/  usb

Enter here to see if you can view the contents of the u disk

If not, create a new file, then umount /dev/sdb If the file disappears, mount it again If it is displayed, it means that the mount is successful.

Recommended tutorial: linux tutorial

The above is the detailed content of how to mount the U disk under linux, please pay attention to other related articles on 1024programmer.com for more information!

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/how-to-mount-u-disk-under-linux-linux-operation-and-maintenance/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索