From owner-freebsd-questions Fri Jan 20 08:23:15 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA13478 for questions-outgoing; Fri, 20 Jan 1995 08:23:15 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA13471 for ; Fri, 20 Jan 1995 08:23:11 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA12144; Fri, 20 Jan 95 09:16:15 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9501201616.AA12144@cs.weber.edu> Subject: Re: Danamically attach an SCSI device? To: uphya001@odie.physik2.uni-rostock.de (Lars Koeller) Date: Fri, 20 Jan 95 9:16:14 MST Cc: INT16@odie.physik2.uni-rostock.de, i@odie.physik2.uni-rostock.de, j:@odie.physik2.uni-rostock.de, freebsd-questions@freefall.cdrom.com In-Reply-To: <199501200838.JAA08904@odie.physik2.uni-rostock.de> from "Lars Koeller" at Jan 20, 95 09:38:56 am X-Mailer: ELM [version 2.4dev PL52] Sender: questions-owner@FreeBSD.org Precedence: bulk > > Is it possible to attach/deattach a SCSI device (e.g. a tape/dat > drive) dynamically, i.e. without rebooting, to FreeBSD? If yes, how? Change the code to: 1) Load all the pieces you need to do the job into core. 2) Wait until all outstanding SCSI activity is complete, blocking additional activity. 3) Reset the bus (and controller, if Adaptec) to reprobe the devices. 4) Resume SCSI acivity. There hasn't been a user space "reprobe" command written yet to take advantage of the code (that also hasn't been written yet) that does this for you. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.