在老外的论坛上看到的,由于自己没有机器,没有亲自尝试,麻烦谁给试试看,或者给出你的办法
how to mount flash drive in linux 05/05/2005 01:20
pals i want to mount my flash drive on linux please if someone help me and if someone can send me the steps(commands) also.....i w'll be grateful
Michael 05/05/2005 04:35
hi asad,
it?s not difficult at all
just go into the console as root and type
mkdir /mnt/flash
mount -t vfat /dev/sda0 /mnt/flash
that is the command i would use, if it doesn?t work try only typing until /dev/sd and press [tab] twice, it should give you the available devices, choose one and continue...
someone more experienced is welcome to give a description of how to add that to the /etc/fstab
manveru
Luiz 05/05/2005 11:16
Remember loading the correct kernel-modules for usb mass storage devices if they haven't been loaded yet...
`modprobe usb-storage`
Then mount it.
If you don't know the usb-storage module status (if it's up or not), just run `lsmod` and verify it ;)
Nafay Micheal 05/08/2005 22:48
Micheal man! what that -t option for in the mount command that u have written
Saurabh That -t 05/08/2005 23:14
that -t is for telling which file system is that device using
Naveed 05/09/2005 00:19
mount -t /dev/sda1 /mnt/directory
Danton warning 05/09/2005 17:44
memory sticks comes in two flavours, some are partitioned (with a single partition) some are not. if your stick is partitioned:
mount -t vfat /dev/sdx1 /mounting/point
otherwise:
mount -t vfat /dev/sdx /mounting/point
Rohit mmmuaah FC3 05/10/2005 01:05
I just plugged it in and used it
Kedar yup 05/10/2005 00:33
most distros nowadays auto mount usb drives.
just in case the mountwatcher has been killed, u need to mount it manually.
应该是:
#mkdir /mnt/flash
#mount -t vfat /dev/sdaX /mnt/flash
注:X具体视有多少个usb设置而定(但还应考虑SCSI和SATA)
没有评论:
发表评论