The path can point to a Device DAX. In this case only the PMEM_FILE_CREATE and PMEM_FILE_SPARSE flags are valid, but they are both ignored. For Device DAX mappings, len must be equal to either 0 or the exact size of the device.
For more, see libpmem man page: http://pmem.io/pmdk/manpages/linux/master/libpmem/pmem_is_pmem.3