Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 1997 11:46:57 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        stanb@netcom.com (Stan Brown)
Cc:        freebsd-questions@freebsd.com
Subject:   Re: SCSI tape drive device names
Message-ID:  <199704061846.LAA25818@freefall.freebsd.org>
In-Reply-To: <199704061305.JAA06215@netcom7.netcom.com> from "Stan Brown" at Apr 6, 97 09:05:01 am

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704061846.LAA25818>