Re:Configure a Raspberry Pi as a USB Device
by myself248 on Saturday June 03, 2023 @02:12PM
(#36179049)
Yup, you can use the usb-gadget mass-storage framework to "plug in" a "block device" which is backed by a file on the computer. You can then "unplug" the device from the usb, and loop-mount it locally to manipulate its contents.
Nota bene, do not mount it two places at the same time!
Nota bene, do not mount it two places at the same time!