From owner-cvs-src-old@FreeBSD.ORG Tue Jun 14 16:30:09 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 589C6106566B for ; Tue, 14 Jun 2011 16:30:09 +0000 (UTC) (envelope-from gibbs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9D98FC19 for ; Tue, 14 Jun 2011 16:30:09 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5EGU9Sb002701 for ; Tue, 14 Jun 2011 16:30:09 GMT (envelope-from gibbs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5EGU9bp002700 for cvs-src-old@freebsd.org; Tue, 14 Jun 2011 16:30:09 GMT (envelope-from gibbs@repoman.freebsd.org) Message-Id: <201106141630.p5EGU9bp002700@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gibbs@repoman.freebsd.org using -f From: "Justin T. Gibbs" Date: Tue, 14 Jun 2011 16:29:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 16:30:09 -0000 gibbs 2011-06-14 16:29:43 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c sys/sys conf.h Log: SVN rev 223085 on 2011-06-14 16:29:43Z by gibbs sys/sys/conf.h: sys/kern/kern_conf.c: Add make_dev_physpath_alias(). This interface takes the parent cdev of the alias, an old alias cdev (if any) to replace with the newly created alias, and the physical path string. The alias is visiable as a symlink to the parent, with the same name as the parent, rooted at physpath in devfs. Note: make_dev_physpath_alias() has hard coded knowledge of the Solaris style prefix convention for physical path data, "id1,". In the future, I expect the convention to change to allow "physical path quality" to be reported in the prefix. For example, a physical path based on NewBus topology would be of "lower quality" than a physical path reported by a device enclosure. Sponsored by: Spectra Logic Corporation Revision Changes Path 1.248 +62 -0 src/sys/kern/kern_conf.c 1.262 +3 -0 src/sys/sys/conf.h