How to load a USB flash drive or a removable hard disk under Linux system

  

1. Before inserting a USB flash drive or hard disk, run the :fdisk -l command in the command line window, the system will display the hardware storage device that can be recognized currently; >

Contents such as:

sda

sda1

sda2

sdb

sdb1

sdb2< Br>

and other information, where sda ​​and sdb indicate that the current system has two hard disks, followed by numbers to indicate the directory of each zone under each hard disk;

Hard disks or storage devices generally start with sd.

2. Insert the USB flash drive or hard disk, run the fdisk -l command again, the system will display the hardware storage device that can be recognized at present, compare the output twice, and find the second running time. Will add some content;

The system will add display on the original: sdc, and other content, indicating that the newly inserted U disk or mobile hard disk is attached to the system's sdc.

3. Run mount, for example:

#mkdir /mnt/usb

#mount /dev/sdc /mnt/usb

4. After the operation is complete, you can directly /Mnt/u The sb directory accesses or operates the data of the U disk or the mobile hard disk;

5. Before disconnecting the USB disk or moving the hard disk, run the umount command to ensure that the data will not be lost. The command is as follows: >

#umount /dev/sdc

Copyright © Windows knowledge All Rights Reserved