atacontrol -> camcontrol in FreeBSD10+

Robert Huff roberthuff at rcn.com
Fri Mar 21 12:47:45 UTC 2014


     I just updated a system to:

FreeBSD 11.0-CURRENT #0 r263263: Mon Mar 17 15:09:18 EDT 2014 amd64

     According to src/UPDATING, this means "camcontrol" is now the 
correct tool for both SCSI and IDE/ATA drives.
     This system has an external hard drive dock, connected to ada1 via 
eSATA.  Every so often the drive gets swapped, causing it to disappear 
from /dev.
     Previously

root> atacontrol ata0 detach
root> atacontrol ata0 attach

     would get it back.
     I am unable how figure out the equivalent using camcontrol, in part 
because many of the commands are explicitly tagged "SCSI".
     Anybody out there know how to do this?

     Respectfully,


                     Robert Huff







More information about the freebsd-questions mailing list