On 28/10/05, Dave Howorth
On Thu, 2005-10-27 at 17:41 -0400, James Wright wrote:
On Wednesday 26 October 2005 12:01, Dave Howorth wrote:
... So what I do is su to root and eject it. I've been thinking about writing a suid shell script to do that, unless somebody else comes with a better suggestion.
You don't need to do all of this, just make sure any disc activity has finished and unplug the device.
I think you missed something I wrote earlier:
My disk is a camera (well, the disk is an SD card in a camera) and this doesn't work because I want to turn the camera off before unplugging it. And it won't turn off until it's unmounted ...
Cheers, Dave
Perhaps I'm missing something here but what's wrong with simply unplugging the camera? Or, get hold of one the now very cheap USB card readers. That's why I 'have' to use as my camera is not supported under any distro. It does have the added bonus of not wasting the cameras battery. -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Take care. Kevan Farmer 34 Hill Street Cheslyn Hay Staffordshire WS6 7HR