Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: Mounting Multiple USB Storage Drives

$
0
0
Hi,
your observation is correct. The usb_share script does move all needed files over to one specific USB stick and the /opt/piratebox/share folder is then located physically on the USB stick.

You can achieve the auto-mount using thie Archlinux wiki/howto udisks.

Theoretical it is possible to do something like you want, but you have to solve the following issues, which I can't provide an out-of-stock solution for, but maybe we hack something together ?!

Following problems to be solved:
- correct setup of the package udisk2
- no nice directory listing on mounted usb sticks during runtime. The current directory listing needs two files inside the Shared folder to be displayed correctly. But it should be possible to place these two files during the udev event inside the mount point
- Mountpoints which aren't used anymore needs to be cleaned up during reboot/a while/or better during umount. (or you will have a bunch of folders laying around)
- link /media to /opt/piratebox/share/Shared/media (trivial)
- Possibly permission issues for accessing the USB drive.

In addition I recommend in your case to enable the sdcard share for the normal use case.

best regards Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles