mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add nvd alias to nda ndoes.
All ndaX and ndaXpY nodes will appear as nvdX and nvdXpY as well (through symlinks in devfs via the normal disk aliasing mechanism in GEOM). Differential Revision: https://reviews.freebsd.org/D11873
This commit is contained in:
parent
d3517d306c
commit
d45e16744f
1 changed files with 4 additions and 0 deletions
|
|
@ -808,6 +808,10 @@ ndaregister(struct cam_periph *periph, void *arg)
|
|||
DEVSTAT_ALL_SUPPORTED,
|
||||
DEVSTAT_TYPE_DIRECT | XPORT_DEVSTAT_TYPE(cpi.transport),
|
||||
DEVSTAT_PRIORITY_DISK);
|
||||
/*
|
||||
* Add alias for older nvd drives to ease transition.
|
||||
*/
|
||||
disk_add_alias(disk, "nvd");
|
||||
|
||||
/*
|
||||
* Acquire a reference to the periph before we register with GEOM.
|
||||
|
|
|
|||
Loading…
Reference in a new issue