Web lists-archives.com

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




	Hi.

On Sat, May 05, 2018 at 07:04:08PM +0200, Thomas Schmitt wrote:
> 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.

Please. Surely you heard of SATA/SAS hotplug? Or SATA rack?

It's true that it's usually impossible to *eject* the harddrive.
Does not mean that it's impossible to replace a harddrive without
powering down. 

Reco