From owner-freebsd-questions Wed Feb 9 2:32: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by builder.freebsd.org (Postfix) with ESMTP id 1EB5B4B4B for ; Wed, 9 Feb 2000 02:14:48 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id CAA22747; Wed, 9 Feb 2000 02:41:09 -0800 (PST) Date: Wed, 9 Feb 2000 02:41:09 -0800 From: Alfred Perlstein To: "Jeffrey M. Metcalf" Cc: questions@FreeBSD.ORG Subject: Re: Q: Hot swap SCSI devices Message-ID: <20000209024108.U17536@fw.wintelcom.net> References: <20000209031417.34138.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000209031417.34138.qmail@hotmail.com>; from Jeffrey_Metcalf@hotmail.com on Tue, Feb 08, 2000 at 10:16:35PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jeffrey M. Metcalf [000209 02:36] wrote: > Hello, > > I am running FreeBSD-3.4 on an i386 box and was wondering > if FreeBSD allowed for the hot swapping of certain external > SCSI devices. With linux, I can make my scsi card support > a module in the kernel. That way if I forgot to power up > my external SCSI Zip drive, say, I can unload the module, > power up my SCSI device, then reload the module. Voila, > a new SCSI bus probe occurs and my Zip is detected. I'm > pretty sure FreeBSD-3.4 can't do SCSI support as an LKM, > but maybe someone knows of a way I can induce a hot reprobe > of the SCSI bus for newly added devices? If there's no > command line way to do this, can I hack something? My > SCSI card is supported by the new CAM subsystem. Can > I take advantage of anything there for devices like Zip drives? That sounds like an awful kludgy way to rescan for devices, you ought to take a look at the camcontrol manpage under FreeBSD. man camcontrol -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message