Web lists-archives.com

Re: Distinguishing among [unmount, Safely Remove Drive, Eject]




Hi,

Richard Owlett wrote:
> unmount, Safely Remove Drive, and Eject?
> [...] For a hard disk partition, only the first is given.

To eject a hard disk you need the undocumented privileges CAP_DESTROY_HARDWARE
and CAP_ENDANGER_BYSTANDERS.


Have a nice day :)

Thomas