From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 02:24:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E24F916A4B3 for ; Wed, 22 Oct 2003 02:24:52 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9643F43FD7 for ; Wed, 22 Oct 2003 02:24:51 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 2CC462BC0D for ; Wed, 22 Oct 2003 19:24:47 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id F1090511FE; Wed, 22 Oct 2003 18:55:14 +0930 (CST) Date: Wed, 22 Oct 2003 18:55:14 +0930 From: Greg 'groggy' Lehey To: rk47 Message-ID: <20031022092514.GP33152@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0fZkDq/H4AmqaB8D" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: What is a "unit" number of a device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 09:24:53 -0000 --0fZkDq/H4AmqaB8D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 21 October 2003 at 13:25:20 +0200, rk47 wrote: > What is a "unit" number of a device That depends a lot on the device. For SCSI disks, you select the unit number on the drive itself. > and how does it relate to the minor number of the device. Typically the last few bits of the minor number map directly to the unit number. > Is there a generic relationship or dowes it differ between devives. "Yes". Look at the section man page for the device in question. It *should* give that mapping. If it doesn't, the header files are (maybe) your friend. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --0fZkDq/H4AmqaB8D Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/lkz6IubykFB6QiMRAqFXAKCYckZAn3HTDE+cXljQcrqaTJFXeQCeJsQ+ 5xBAm6KU7Rv1zIlc3PaOGt4= =QFAC -----END PGP SIGNATURE----- --0fZkDq/H4AmqaB8D--