From owner-freebsd-questions Thu May 14 17:29:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19810 for freebsd-questions-outgoing; Thu, 14 May 1998 17:29:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA19792 for ; Thu, 14 May 1998 17:28:44 -0700 (PDT) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 14 May 1998 20:28:12 -0400 (EDT) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA28576; Thu, 14 May 98 20:28:13 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id UAA20847; Thu, 14 May 1998 20:27:55 -0400 Message-Id: <19980514202755.A20813@ct.picker.com> Date: Thu, 14 May 1998 20:27:55 -0400 From: Randall Hopper To: Julian Elischer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Rescanning SCSI-Bus without Rebooting? Mail-Followup-To: Julian Elischer , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Julian Elischer on Tue, May 05, 1998 at 09:56:08AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer: |1/ choose a moment when you are not doing much | |2/ use the scsi -r command. you will need to use it against an already |existing device, e.g. /dev/rsd0 |man 8 scsi Having the same need for my scanner, I tried this: # scsi -f /dev/uk0 -r -b 0 -t 6 scsi: unable to open device /dev/uk0: Device not configured scsi(8) says rescanning isn't necessary for "fixed" SCSI devices since reopening the device rescans, and it says to see scsi(4) for a description of fixed scsi devices. scsi(4) doesn't contain the word "fixed". So I guess my question is, how can I set things up such that my scanner (currently uk0) a "fixed" SCSI device so I can get access to the rescan behavior? Thanks in advance, Randall BTW, I have: controller ncr0 controller scbus0 at ncr0 # Single bus device disk sd0 at scbus0 target 5 unit 0 # sd0 = ZIP Drive device uk0 at scbus0 target 6 unit 0 # uk0 = Scanner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message