I want to use Amarok to transfer my audio files to my cellphone (Android). Amarok allows transfer files using only USB drives. Then, I though in mount my cellphone using ssh or sshfs. At the moment, I can mount the content of my mobile in a folder but Amarok only detects USB flash drives. What can I do that Amarok transfers my files through ssh or sshfs? I believe that mount the folder obtained with sshfs as a "USB flash drive" could work, but I am not sure if it's the correct way (and I don't know how to do that too).
Asked
Active
Viewed 266 times
0
-
1Sounds like a XY problem. Why do you want your OS to detect it as a USB drive? – Stéphane Chazelas Jul 22 '15 at 09:10
1 Answers
0
I don't think you could do it in usual way.
But you may be able to fake a path as a USB drive.
Try this:
- Plug in any USB pen drive.
- Mount it to some point. Say
/media/usb - Mount the other directory on top of it:
sudo mount --bind /path/to/other/dir /media/usb
The software would consider it as USB drive. Though you can't use software that would do some low level things (like Unetbootin).
Please Note:You will have to umount /media/usb twice to unmount the original USB drive.