Intel Edisonで USBマウントしたボリュームを見る方法
ファームウェアアップデートでPCにUSBマウントしたボリュームがあります。ファイル転送でこれを使えると便利かも? ということで Intel Edisonからマウントする方法を探しました。
参考
Intel Edison の mass storage を、Edison自身から操作する方法 | ひさやん.com
PC側
Intel Edison側
1
2
3
4
5
|
$ mkdir /mnt/update $ losetup -o 8192 /dev/loop0 /dev/disk/by-partlabel/update $ mount /dev/loop0 /mnt/update $ cd /mnt/update $ ls -al |
USB Gadget Mass Storage image location | Intel Communities
Here's how to get at the storage in the msdos partition.
log into your Edison board over serial console or Wifi. If you're ssh-ing in over gadget rndis, you'll lose the connection because you have to unload the multifunction gadget. Here's the commands to make it available on your edison:
rmmod g_multi
mkdir /update
losetup -o 8192 /dev/loop0 /dev/disk/by-partlabel/update
mount /dev/loop0 /update
You can now see the contents of the msdos partition in /update. And is writable, so you can put files in there.