[wellylug] unmounting versus stopping usb storage
Bill Christiansen
bill.christiansen at gmail.com
Thu Jan 25 15:52:23 NZDT 2007
On 1/23/07, Daniel Pittman <daniel at rimspace.net> wrote:
>
> Jethro Carr <jethro.carr at jethrocarr.com> writes:
> > On Mon, 2007-01-22 at 17:00 +0800, Bill Christiansen wrote:
> >
> >> I have a cellphone with a Kingston 512MB microSD card. It works fine
> >> as a usb storage device under linux and I always unmount the drive
> >> before unplugging the usb cable but the phone still complains that it
> >> was not "stopped" before disconnecting and that the memory card may
> >> be damaged. I'm assuming it's just missing a signal from Windows
> >> telling it, it was stopped and that no real harm can come as it was
> >> properly unmounted...?
> >
> > Providing you are unmounting the device correctly, and give it time to
> > synchronise the cache before unplugging, there is no reason why this
> > should cause data loss - as you said, it's possibly a special feature
> > in the windows driver that's not implemented under Linux.
>
> Actually, at least on the command line you can achieve the needed
> disconnect -- with the small number of devices I tried it with:
>
> ] eject sda
>
> Excellent! now the phone gives me a nice message to say the data cable can
be safely removed.
thanks
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070125/69482fbb/attachment.htm
More information about the wellylug
mailing list