Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of mounting U disk under linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to mount a USB disk under linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

How to mount a 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 it; (3) enter the mount directory to check whether the mount is successful.

First of all, you have to make sure that the format of your flash drive is fat format.

First go to the / mnt/ directory and create a new usb directory.

Cd / mnt/mkidr usb

First fdisk-l, then plug in the flash drive, fdisk-l

Check to see if any new hard drives have been added?

Then perform the mount

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

Here-t vfat refers to the format of fat, / dev/sdb refers to U disk, and / mnt/usb is the place where it is mounted.

Cd / mnt/usb

Enter here to see if you can see the contents of the U disk.

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

This is the end of the method of mounting a U disk under linux. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 223

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report