Stop using a SATA drive

Polytropon freebsd at
Thu Aug 27 22:01:23 UTC 2015

On Thu, 27 Aug 2015 07:45:45 -0400, Quartz wrote:
> I believe Chris was looking for an equivalent command (or equivalent to 
> 'diskutil eject foo' at any rate). OSX was based on FreeBSD originally, 
> so the underlying concept should be possible. Is there no port or 
> package that can provide this functionality?

That would surely be possible if the device in question
would implement a proper reaction to the "eject" command.
If it does, and how it does it, is up to the manufacturer.
Let's say you send the "eject" command to the drive - the
firmware then says goodbye to the host - the device file
disappears. That would be a possibility. For optical
devices, the "eject" (as well as the "load") command
usually controls the slider for the media, without affecting
the presence of the device file.

See "man camcontrol" for details.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list