Home > Computer Tutorials > Computer Knowledge > How to view USB flash drive on computer

How to view USB flash drive on computer

WBOY
Release: 2024-02-14 09:00:12
forward
1335 people have browsed it

php editor Banana will share with you some tips on how to use USB flash drives on your computer. A USB flash drive is a common storage device that can easily transfer files between computers. First, insert the U disk into the USB interface of the computer and wait for the system to automatically recognize it. Then, open the "My Computer" or "This Computer" window, and you will see the icon of the USB flash drive. Double-click to open the USB flash drive and you can see the files and folders in it. Now, you can save files from your computer to a USB flash drive, or copy them from a USB flash drive to your computer, by dragging or copying and pasting. After use, remember to pull out the USB flash drive safely to avoid data loss. This is a simple and quick way to use a USB flash drive. I hope it will be helpful to you!

Most of you may usually use Windows systems, but few people may understand the principles of mounting hardware devices.

When we usually use a USB flash drive to plug it directly into the computer, we may not realize the work behind the Windows operating system. By demonstrating the process of mounting hardware devices in Linux, we can better understand how Linux adds hardware devices. In Linux, when we plug in a new hardware device, the operating system will identify the device through automatic detection. It finds the device's hardware information and drivers and loads them into the system. Once a device is identified, Linux assigns it a device file. The location of this device file in the file system is fixed, and we can access the device through it. Next, Linux will attach the device to a directory on the file system, a process called mounting. Mounting allows us to access the contents of a device at a specific location in the file system. Before mounting the device, we need to select a directory for

The general process:

Insert the hard disk--Hard disk partition--Format partition--Partition mounting use

Below we use a VMware virtual machine to demonstrate the above process.

1. First add the hard disk device in VMware

How to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computerHow to view USB flash drive on computer


##2. Restart

Check the hardware devices and find that the hard disk we just added is displayed (/dev/sdb)

How to view USB flash drive on computer3. Use the fdisk command to /dev /sdb partition

The following are the commonly used parameters of fdisk.

m: View all available parameters

n: Add a new partition

d: Delete a certain partition information

l: List all available partitions Type

t: Change the type of a partition

p: View partition information

w: Save and exit

q:Exit without saving


How to view USB flash drive on computerHow to view USB flash drive on computerThe following operations:

n: Add a new partition

p: Primary partition

1 : Primary partition number

Press Enter: Define the starting sector position (default is enough)

2G: Indicates the size of the created primary partition

w: Keep exiting ( Attention!!!, don’t forget it)

How to view USB flash drive on computerHow to view USB flash drive on computer4. The partprobe command manually synchronizes the partition information to the kernel

file /dev/sdb1: shows that we just created Primary partition 1

How to view USB flash drive on computer5. Use the mkfs command to format partition sdb1

Supplement: The mkfs command provides us with many formatted file types

How to view USB flash drive on computer6. Create the mounting directory and mount the partition

How to view USB flash drive on computer7. Write the mounting information to the configuration file /etc/fstab to make it permanent.

How to view USB flash drive on computer The operation is completed.

In this article we demonstrate how to partition, format, and mount the hard disk.

Next article: Add a swap partition

The above is the detailed content of How to view USB flash drive on computer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:pc-daily.com
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template