OK I've read that when a Pi Zero W is in mass storage mode you can't actually write files to the drive over wifi while it's still connected to the host because the host won't recognize the new files and you could potentially corrupt the drive. However is there a way to safely write files to the drive over wifi while it's still physically connected to the host? Like is there a command you could execute via wifi to unmount the drive from the host, write the files, and then remount the drive?
For example say I have a Pi Zero W in mass storage mode connected to a 3D printer and I want to simply copy files to it from my PC using the wifi connection. Without physically pulling the USB cable from the Pi could you unmount it, write the files you need, then reconnect it so that the 3D printer now recognizes the new files you just wrote?
Also what about reading the files? Is it safe to read the files over wifi without unmounting the drive from the host first?