From owner-svn-src-head@FreeBSD.ORG Fri Jul 10 12:52:01 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E2471065672; Fri, 10 Jul 2009 12:52:01 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-ew0-f227.google.com (mail-ew0-f227.google.com [209.85.219.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6E28FC22; Fri, 10 Jul 2009 12:51:59 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by ewy27 with SMTP id 27so161632ewy.43 for ; Fri, 10 Jul 2009 05:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=WzRyiZCI+5HlOnQrurbaeUcIFBAZN+stjowsZeLo154=; b=othMzRd+flYHZ2ygj+dqT19VPHj4I0R/+bxlCtFkZ9N1N1pp4dZXRhWgCkvk2RHINX j0OURVojjBdopB+QLLO2PCNnF8u0VvOkruOUhFQgWTlDL6iUMu5s/JnC6J5bgpsO5DQU AuaOebU7a44CpxqpotSPg2UoAC1yzxyruA8wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=mwMmv9VJsmf9Vo/fMZvo6gAD2tc3OHJUAEpeSwsahghHIQm3Nzd0cwjS78FECLpX8X oCbFqP5v8oPy7Fj2Y8NZ6L4aUM6KtOID/alLSkzMxiQmmYMBhqe1IZVDv5Q2e9Wlbzzh 8+0epH9I331dQcZe4r4Vjhk+CzKOFmi4/BqkY= MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.210.43.11 with SMTP id q11mr1214018ebq.15.1247230319089; Fri, 10 Jul 2009 05:51:59 -0700 (PDT) In-Reply-To: <88238.1247227018@critter.freebsd.dk> References: <86skh4u6kh.fsf@ds4.des.no> <88238.1247227018@critter.freebsd.dk> From: Ivan Voras Date: Fri, 10 Jul 2009 14:51:39 +0200 X-Google-Sender-Auth: bf561e97becb881c Message-ID: <9bbcef730907100551l58e97392oefa5daf87efa477a@mail.gmail.com> To: Poul-Henning Kamp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Scott Long , src-committers@freebsd.org, svn-src-all@freebsd.org, Scott Long , svn-src-head@freebsd.org, =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Subject: Re: svn commit: r195534 - in head: etc/mtree include lib/libcam sbin/camcontrol share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/conf sys/dev/advansys sys/dev/ahci sys/dev/aic7xxx sys/dev/amd sys/de... X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2009 12:52:02 -0000 2009/7/10 Poul-Henning Kamp : > In message <86skh4u6kh.fsf@ds4.des.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= wr > ites: >>"Poul-Henning Kamp" writes: >>> I'm all for unifying the namespace, but still remember how much pain >>> the "didn't find that disk, lets renumber all of the rest of them" >>> causes, so I tend to prefer physically bound names. >> >>cXtYdZ for the win! > > Actually, maybe the solution is to push glabel much more agrressively > (ie: read sysinstall) Publishing drive IDs from the driver to the GEOM layer will naturally and automatically provide a reasonable unique ID to be used by sysinstall et al. It's done for ATA, but AFAIK not for CAM. I'm a bit puzzled about that - it looks trivial? I see that "camcontrol inquiry -S" works: # camcontrol inquiry da0 -S B399P6A04GRS ...but apparently not in all cases - the same on another machine (a virtual machine under VMWare) doesn't print out anything. Then there are non-da devices: # camcontrol inquiry mfid0 -S camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed cam_lookup_pass: No such file or directory cam_lookup_pass: either the pass driver isn't in your kernel cam_lookup_pass: or mfid0 doesn't exist I don't know enough about the SCSI drivers to conclude anything useful.