niklasekstrom / a314

A314 is a family of expansions for Amiga computers that lets a Raspberry Pi (RPi) be used as a co-processor to the Amiga
Creative Commons Zero v1.0 Universal
255 stars 32 forks source link

For a314fs, make it possible to remove a volume from a device (i.e. PI0:) and later insert volume again. #4

Open niklasekstrom opened 5 years ago

niklasekstrom commented 5 years ago

As the title says. Moreover, it could be nice to support multiple devices (PI0:, PI1:, ...) and be able to decide, through a config file on the RPi, what volume should go in each. The contents of a volume should be mapped to some directory on the RPi.

arnljot commented 4 years ago

This would be excellent for removable storage, such as usb used on the pi side.

alexchaney commented 4 years ago

This is easy enough via soft links. For example. in your pi0: directory on the Pi, just create a softlink to the /dev/usb... device and then if you put in or take out a usb flash drive, the pi will handle the mounting and unmounting for you. So suddenly you have usb access for the workbench. I do this with Amibian. Basically look into softlinks and manage then with a quick menu script.

niklasekstrom commented 4 years ago

Hi @alexchaney . That sounds like a useful suggestion.

What I had in mind is for a314fs to work like a floppy disk drive, so that if you "eject" the volume then the disk icon will be removed from the Workbench, and when you insert a volume then the icon will come back. So it's a different use case I guess.