Date: Fri, 20 Jan 95 9:16:14 MST From: terry@cs.weber.edu (Terry Lambert) To: uphya001@odie.physik2.uni-rostock.de (Lars Koeller) Cc: INT16@odie.physik2.uni-rostock.de, i@odie.physik2.uni-rostock.de, j:@odie.physik2.uni-rostock.de, freebsd-questions@freefall.cdrom.com Subject: Re: Danamically attach an SCSI device? Message-ID: <9501201616.AA12144@cs.weber.edu> In-Reply-To: <199501200838.JAA08904@odie.physik2.uni-rostock.de> from "Lars Koeller" at Jan 20, 95 09:38:56 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501201616.AA12144>