From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 13:20:40 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A6CA287 for ; Fri, 21 Mar 2014 13:20:40 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D128942 for ; Fri, 21 Mar 2014 13:20:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-67-138.dynamic.qsc.de [92.195.67.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 525E227701; Fri, 21 Mar 2014 14:20:31 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s2LDK6mm002748; Fri, 21 Mar 2014 14:20:06 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 21 Mar 2014 14:20:06 +0100 From: Polytropon To: Robert Huff Subject: Re: atacontrol -> camcontrol in FreeBSD10+ Message-Id: <20140321142006.a0868d42.freebsd@edvax.de> In-Reply-To: <532C34ED.2070609@rcn.com> References: <532C34ED.2070609@rcn.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 13:20:40 -0000 On Fri, 21 Mar 2014 08:47:41 -0400, Robert Huff wrote: > 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? Without further examination, I'd say this is # camcontrol rescan # camcontrol devlist # camcontrol start # camcontrol stop See "man camcontrol" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...