Re: "Safely remove hardware" for USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Montag, 28. September 2009 20:16:44 schrieb Alan Stern:
> On Mon, 28 Sep 2009, Oliver Neukum wrote:

> > Wouldn't it be better if the device were removed in a suspended state
> > so buffers on storage devices could be flushed?
>
> That is a userspace detail.  The intended mode of operation is that a
> program like "eject" will first unmount all filesystems on the device

Hm. The device may or may not have a filesystem on it.

> and unbind usb-storage (causing buffers to be flushed), and then write

How does unbinding usb-storage flush buffers?

> to the "remove" attribute.

If this is the only way to correctly use the attribute why not make the
attribute do what needs to be done to be correct?

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux