USB Device self-umount
tomek at cedro.info
Tue Sep 26 14:31:10 UTC 2017
Hello world! :-)
I am working on a device that implements USB MSC mass storage for
firmware programming . After receiving file, it flashes the
firmware image to the target MCU, then reboots and starts the program
or waits debug session..
The question is how to gracefully self-umount from a device point of
view in a way not to confuse automounter and/or usb / mass storage
drivers? Is there any way of doing that in SCSI+USB? Something like
CD-ROM eject, then device removal..
Any hints appreciated :-)
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
More information about the freebsd-questions