How to mount usb in Linux:
Mount USB if there is no other way in case of embedded linux:
1) insert USB
2) give "fdisk -l" [lists the /dev/sda1 or sda5]
3) mount /dev/sda1 /mnt/ [mount usb,USB file contents will be available in /mnt/ folder]
4) cp ts.txt /mnt/ # copy files to usb
5) cp /mnt/ts.txt . #copy files from usb to current folder
6) sync #Flush buffer read/write contents
6) umount /mnt/ #unmount usb
Mount USB if there is no other way in case of embedded linux:
1) insert USB
2) give "fdisk -l" [lists the /dev/sda1 or sda5]
3) mount /dev/sda1 /mnt/ [mount usb,USB file contents will be available in /mnt/ folder]
4) cp ts.txt /mnt/ # copy files to usb
5) cp /mnt/ts.txt . #copy files from usb to current folder
6) sync #Flush buffer read/write contents
6) umount /mnt/ #unmount usb
0 Comments:
Post a Comment
<< Home