From owner-freebsd-questions Sun Apr 6 11:47:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA25824 for questions-outgoing; Sun, 6 Apr 1997 11:47:02 -0700 (PDT) Received: (from jmb@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA25818; Sun, 6 Apr 1997 11:46:58 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199704061846.LAA25818@freefall.freebsd.org> Subject: Re: SCSI tape drive device names To: stanb@netcom.com (Stan Brown) Date: Sun, 6 Apr 1997 11:46:57 -0700 (PDT) Cc: freebsd-questions@freebsd.com In-Reply-To: <199704061305.JAA06215@netcom7.netcom.com> from "Stan Brown" at Apr 6, 97 09:05:01 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Stan Brown wrote: > > I have read the Jandbook, and Ican't figure it out from there could > some knowledgable person please tell me what the device name for my HP > DATA drive at SCSII ID 3 on my first and only SCSII controler should be? > It is BTW the only device on the SCSII bus except the controler. the first tape drive is '/dev/st0' the second tape drive is '/dev/st1' just like with disk drives (/dev/wd0, /dev/wd1.... ide drives) (/dev/sd0 /dev/sd1.... scsi drives) you can override this in the kernel configuration file by "wiring down" a device at a particular scsi controller, id and lun to a particular device. there are examples in the LINT config file (/sys/i386/conf/LINT) [exerpted] The syntax for wiring down devices is: # controller scbus0 at ahc0 # Single bus device # controller scbus1 at ahc1 bus 0 # Single bus device # controller scbus3 at ahc2 bus 0 # Twin bus device # controller scbus2 at ahc2 bus 1 # Twin bus device # disk sd0 at scbus0 target 0 unit 0 # disk sd1 at scbus3 target 1 # disk sd2 at scbus2 target 3 # tape st1 at scbus1 target 6 # device cd0 at scbus? jmb