Community
cancel
Showing results for 
Search instead for 
Did you mean: 
HLI35
Novice
966 Views

Write file into USB flash disk with intel edison

Jump to solution

Could anyone tell me how to write a file into USB flash disk on Intel Edison? Or how can i access the USB disk through edison. Because I want to write the program log into the disk instead of into edison. Thanks for any help.

0 Kudos
1 Solution
idata
Community Manager
53 Views

Hi Mozzie,

 

 

Thanks for reaching out.

 

 

In order to use your USB flash drive in the Edison, first, you need to verify that its file system is in a compatible format like FAT32 and then follow this steps to mount a flash drive on Edison:

 

  • mkdir /media/flash_drive_directory
  • mount /dev/sda1 /media/flash_drive_directory

 

Note: look for the flash drive in the directory /dev or use ls /dev/sd* command, it should appear as sda1 or sdb1.

 

 

Now you should be able to connect a USB flash drive and write your content in /media/flash_drive_directory.

 

 

Hope you find this information useful.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

1 Reply
idata
Community Manager
54 Views

Hi Mozzie,

 

 

Thanks for reaching out.

 

 

In order to use your USB flash drive in the Edison, first, you need to verify that its file system is in a compatible format like FAT32 and then follow this steps to mount a flash drive on Edison:

 

  • mkdir /media/flash_drive_directory
  • mount /dev/sda1 /media/flash_drive_directory

 

Note: look for the flash drive in the directory /dev or use ls /dev/sd* command, it should appear as sda1 or sdb1.

 

 

Now you should be able to connect a USB flash drive and write your content in /media/flash_drive_directory.

 

 

Hope you find this information useful.

 

 

Regards,

 

-Yermi A.

 

View solution in original post

Reply