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

Steps to mount a u disk under Linux

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains the steps of mounting a u disk under Linux. Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the steps of mounting a u disk under Linux.

Take a look at the disk recognized by the system:

If not recognized, load the module

Then mount:

# mount-t vfat / dev/sdax / mnt/flash_memory

Take a look at the disk recognized by the system:

Check the partition of the system, mainly to see whether the USB disk is recognized by the system, which is generally regarded as sda* (SCSI disk)

# cat / proc/partitions

If not recognized, load the module

Enter the module directory. The module is a component for kernel. If you need to load it, it consumes resources.

# cd / lib/modules/2.4.x-x/kernel/drivers

# insmod. / scsi/scsi/scsi_mod.o

# insmod. / scsi/sd_mod.o-this is usually a USB hard disk (USB disk) driver

# insmod. / scsi/ide_scsi.o

# insmod. / usb/usbcore.o

# insmod. / usb/usb_uhci.o

# insmod. / usb/usb_ohci.o

Then take a look at the disk recognized by the system:

# cat / proc/partitions

Then mount:

# mount-t vfat / dev/sdax / mnt/flash_memory

Uninstall usb after use

# umount / mnt/flash_memory

Uninstall the module to release resources for kernel

# rmmod. / scsi/sd_mod.o

At this point, I believe you have a deeper understanding of the "steps to mount a u disk under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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.

Share To

Servers

Wechat

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

12
Report