I use a microSD card in my macbook air for additional storage, using a flush adapter (homemade, similar to the nifty minidrive).
To save battery when I'm not using it, I disabled auto-mount using /etc/fstab. But sometimes, I accidentally eject it instead of unmounting (because that's what the finder gui does).
After it's ejected, the only way I know to remount is to take the card adapter out and put it back in. Since it's flush, I need a paperclip to take it out.
So I need a way to re-enable the card reader without having to re-insert.
In Windows, this is possible using the devcon command-line tool from microsoft, or going to device manager, disabling and enabling the card reader.
There has to be a way to do this, so please don't answer just saying it's not possible.
Thanks
diskutil). As you say, if you unmount this disk (rather than eject) usingdiskutil unmountDisk, for example, then you can simply remount it again afterwards withdiskutil mountDisk. That said, take a look at this question which suggests and alternative app and (in the comments) a way to do it using unloading kexts – binarybob Aug 31 '12 at 9:13