Date: Tue, 14 Jun 2011 16:29:43 +0000 (UTC) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h Message-ID: <201106141630.p5EGU9bp002700@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106141630.p5EGU9bp002700>
