freebsd-skq/share
imp 9164f4bf81 Expose API to allow disks to ask for alias names in devfs.
Implement disk_add_alias to allow aliases to be added to disks. All
disk have a primary name (say "foo") can also have secondary names
(say "bar") such that all instances of "foo" also have a "bar"
alias. So if you have foo0, foo0p1, foo1, foo1s1 and foo1s1a nodes
created by the foo driver and gpart, device nodes bar0, bar0p1, bar1,
bar1s1 and bar1s1a will appear as symlinks back to the original nodes.
This generalizes to multiple aliases. However, since the unit number
follows the primary name, multiple device drivers can't create the
same aliases unless those drives coorinate the unit number space (eg
you couldn't add an alias 'disk' to both 'da' and 'ada' because it's
possible to have da0 and ada0, because 'disk0' is ambiguous).

Differential Revision: https://reviews.freebsd.org/D11873
2017-08-07 21:12:38 +00:00
..
colldef
ctypedef
dict
doc In preparation for the removal of the roff toolchain, disconnect the 2017-05-25 14:54:22 +00:00
dtrace
examples Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
i18n
keys
man Expose API to allow disks to ask for alias names in devfs. 2017-08-07 21:12:38 +00:00
misc Update the entry for postmaster@ 2017-08-03 07:42:08 +00:00
mk Delete comment above "__DEFAULT_DEPENDENT_OPTIONS" related to "meta mode options" 2017-08-02 21:49:37 +00:00
monetdef
msgdef
numericdef
security
sendmail
skel Cosmetic tweaks to the default shell rc files, mostly comments. 2017-07-05 13:08:07 +00:00
snmp
syscons
tabset
termcap
tests
timedef
vt Adjust path to X11 locale files (/usr/X11 has been changed to /usr/local a 2017-08-01 09:34:15 +00:00
zoneinfo Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
Makefile Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
Makefile.inc