Sunday, February 27, 2011

file copy and mount from usbflash disk on suse linux

ер нь бол хараар тодолсон хэсгийг бичээд зөв ажиллана


on openSUSE 11.4

[boroo@localhost]$ su
Password:
[root@localhost]# mkdir /mnt/usbflash <- this created a directory in the mnt folder

[root@localhost mnt]# mount /dev/disk/by-label/flashname /mnt/usbflash <-this is the command to mount flash card reader

[root@localhost mnt]# ls usbflash <-this listed all the info in my usb flash card and this was the output:
bootex.log dns.bmp games and keys LinuxDocs01.21.04 pc's
dns2.bmp Documents LinuxDistributions_eBay my pics programs

then i just copied this to my home folder and i was done!

[root@localhost mnt]# umount /dev/disk/by-label/flashname /mnt/usbflash <-this unmounted my usb flash card
umount: /dev/sda1: not mounted
[root@localhost mnt]# exit
[imdeemvp@localhost mnt]$

No comments: