Wow, this is very different ...
On a qemu system with faked nvdimms I got this: ubuntu@focal-nvdimm:~$ ll /sys/bus/nd/devices/ total 0 drwxr-xr-x 2 root root 0 Apr 8 12:59 ./ drwxr-xr-x 4 root root 0 Apr 8 12:59 ../ lrwxrwxrwx 1 root root 0 Apr 8 12:59 btt0.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region0/btt0.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 btt1.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region1/btt1.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 dax0.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region0/dax0.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 dax1.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region1/dax1.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 namespace0.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region0/namespace0.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 namespace1.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region1/namespace1.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 ndbus0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 nmem0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/nmem0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 nmem1 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/nmem1/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 pfn0.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region0/pfn0.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 pfn1.0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region1/pfn1.0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 region0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region0/ lrwxrwxrwx 1 root root 0 Apr 8 12:59 region1 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0012:00/ndbus0/region1/
Wow, this is very different ...
On a qemu system with faked nvdimms I got this: focal-nvdimm: ~$ ll /sys/bus/ nd/devices/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region0/ btt0.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region1/ btt1.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region0/ dax0.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region1/ dax1.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region0/ namespace0. 0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region1/ namespace1. 0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ nmem0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ nmem1/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region0/ pfn0.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region1/ pfn1.0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region0/ ./devices/ LNXSYSTM: 00/LNXSYBUS: 00/ACPI0012: 00/ndbus0/ region1/
ubuntu@
total 0
drwxr-xr-x 2 root root 0 Apr 8 12:59 ./
drwxr-xr-x 4 root root 0 Apr 8 12:59 ../
lrwxrwxrwx 1 root root 0 Apr 8 12:59 btt0.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 btt1.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 dax0.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 dax1.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 namespace0.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 namespace1.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 ndbus0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 nmem0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 nmem1 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 pfn0.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 pfn1.0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 region0 -> ../../.
lrwxrwxrwx 1 root root 0 Apr 8 12:59 region1 -> ../../.