Linux mounting is worth learning. Here we mainly introduce the linux mounting method. This article includes the detailed steps to explain it.
There are many Usb devices, such as mp3, Usb flash drives, and card readers, but they are not necessarily recognized in the linux mounting method, for example, my card reader + 1g mmccard can be mounted by red hat linux using the mount command, but my mp3 and Tsinghua USB flash drives cannot be recognized, I searched a lot of methods on the Internet, but they were not successful. Now I want to share my experience.
After inserting a USB flash drive, follow these steps:
1. fdisk-l/dev/sd *
Fdisk-l lists the partition table information of a specified device. The USB disk is automatically named as sd * because it is simulated as a scsi device *.
Generally, the USB flash drive can be found at this step. If the USB flash drive has an indicator light, it indicates it is found.
2. If the previous command does not respond, or some information display modules are not added
You can run lsmod to check whether the usb-storage scsi_mod sd_mod module is available.
Add the missing module if no module is available.
Then try again. OK.
3. mount the usb flash drive. Create a usb directory under the mnt directory.
Mount/dev/sda/mnt/usb
Some systems need to specify the file system type, you can use
Mount-t vfat/dev/sda/mnt/usb
The above describes the linux Mount method commands.
- Linux Security Module
- Linux vi editor concepts
- Start the informix service in linux
- Add a hard disk to a linux VM
- Linux Server hacked knowledge points