In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the "linux system mount and uninstall the USB interface device solution", in the daily operation, I believe that many people in the linux system mount and uninstall the USB interface device solution problem, Xiaobian consulted all kinds of information, sorted out a simple and easy to use method of operation, hope to answer the "linux system mount and uninstall USB interface device solution" doubt! Next, please follow the editor to study!
Linux how to mount a USB device usually, in a Linux system, if you want to use a storage device such as a hard disk, CD, floppy disk or U disk, you usually have to mount it first (but some higher versions of Linux can automatically identify and load the device). When the storage device is mounted, it can be accessed like a directory.
The following three types of information need to be determined before mounting
1. The file system type of the object to be mounted
2. The name of the device to which the object is to be mounted
3. Determine the mount point
Use the mount command when mounting:
Format: mount [- parameter] [device name] [mount point]
Our common USB device formats are: FAT32 format, NFTS format, etc.
File systems commonly used in ext2 linux
The fat of msdos MS-DOS is fat16.
Fat32 commonly used in vfat windows98
Nfs network file system
Iso9660 CD-ROM CD standard file system
File system for ntfs windows NT 2000
Hpfs OS/2 file system
Before hanging the U disk, run the command cat / proc/partitions to see which partitions are in the system now.
After plugging in the u disk, run the above command again to see what extra partitions are available.
1) insert USB flash drive
2) enter fdisk-l / dev/sda to view the output, for example, mine is as follows:
The code is as follows:
# fdisk-l / dev/sda
Disk / dev/sda: 131 MB, 131104768 bytes
3 heads, 32 sectors/track, 2667 cylinders
Units = cylinders of 96 * 512 = 49152 bytes
Device Boot Start End Blocks Id System
/ dev/sdb1 * 1 2668 128016 6 FAT16
3) if you look at the output above, you will know the device on which the USB flash drive is located, for example, mine is / dev/sdb1, and then mount it.
Suppose I mount the flash drive to the / mnt/usb directory (if not, create a new one), which is mount-t msdos / dev/sdb1 / mnt/usb
If it's fat32,
The code is as follows:
Mount-t vfat / dev/sdb1 / mnt/usb
If the format is ext2, use the command:
The code is as follows:
Mount-t ext2 / dev/sda1 / mnt/usb
4) Open / mnt/usb and you can see what's on your flash drive!
The code is as follows:
Cd / mnt/usb
5) the uninstall command is:
The code is as follows:
Umount / mnt/usb .
At this point, the study on "linux system mount and uninstall USB interface device solution" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.