Linux下挂载u盘步骤
AI摘要
由 AI 生成 · 仅供参考
看看系统认出的盘先: 如果没有被认出,则加载模块 然后挂载: #mount -t vfat /dev/sdax /mnt/flash_memory 看看系统认出的盘先: 查看系统分区情况,主要是看usb盘是否被系统认出,一般被认为sda*(即scsi盘) #cat /proc/partitions
看看系统认出的盘先:
如果没有被认出,则加载模块
然后挂载:
#mount -t vfat /dev/sdax /mnt/flash_memory
看看系统认出的盘先:
查看系统分区情况,主要是看usb盘是否被系统认出,一般被认为sda*(即scsi盘)
#cat /proc/partitions
如果没有被认出,则加载模块
进入模块目录,模块对于kernel来说是组件,需要则加载,因为耗资源
#cd /lib/modules/2.4.x-x/kernel/drivers
#insmod ./scsi/scsi/scsi_mod.o
#insmod ./scsi/sd_mod.o --此一般为USB硬盘(优盘)驱动
#insmod ./scsi/ide_scsi.o
#insmod ./usb/usbcore.o
#insmod ./usb/usb_uhci.o
#insmod ./usb/usb_ohci.o
再看看系统认的盘:
#cat /proc/partitions
然后挂载:
#mount -t vfat /dev/sdax /mnt/flash_memory
使用完后卸载usb
#umount /mnt/flash_memory
卸载模块,以便释放kernel的资源
#rmmod ./scsi/sd_mod.o
版权声明:本文由驱动中国整理发布,转载需注明出处与原文链接。如有疑问请联系
editor@qudong.com。
本文价值
★★★★★
—
成为第一个评分的人
登录后为本文打分
评论加载中…