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

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


Reply to: