Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone
- From: Alan Stern <stern rowland harvard edu>
- To: prasannatsmkumar <prasannatsmkumar gmail com>
- Cc: nautilus-list gnome org, linux-usb vger kernel org, linux-kernel vger kernel org
- Subject: Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone
- Date: Thu, 13 Dec 2012 18:11:14 -0000
On Thu, 13 Dec 2012, prasannatsmkumar wrote:
> On Wed, Dec 12, 2012 at 2:07 AM, Alan Stern <stern rowland harvard edu> wrote:
> > STOP UNIT means spin down the disk or eject the disc. Since your phone
> > doesn't have a disk drive or an optical disc, no wonder this step
> > failed.
>
> Yes of course it does not have a optical disc or disk drive. But I
> thought if there is no such thing nautilus should not try to spin
> down. Linux kernel has nothing to do with this problem though.
Right. Bear in mind that nautilus may not have any way of finding out
whether the device has removable media, other than requesting for the
media to be ejected. But if it doesn't know then failure of the
request shouldn't be reported as an error.
> > No, neither option cuts power. The main difference is that "safely
> > remove" disables the USB connection, so that if the device has an "okay
> > to unplug now" light, the light will turn on.
>
> I have seen lights going off in my pen drive, so naturally as an user
> I assumed that nautilus request the kernel to cut down the power and
> kernel did that. After choosing "Safely Remove" option my device node
> (/dev/sdb or whatever) still exists?
No, it is gone. At least, I think so -- I'm not sure exactly what
nautilus does when you select "Safely Remove". The kernel's USB stack
has a "remove" interface that is meant for this sort of thing; I've
been assuming that this is what nautilus uses.
Alan Stern
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]