Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are three improvements here to 'zpool import' proposed by Fajar in Github issue openzfs#98. They are all good so I'm commiting all three. 1) Add descriptions for "hpet" and "core" blacklist entries. 2) Add "core" to the blacklist, as described in the issue accessing this device will crash Xen dom0. 3) Refine probing behavior to use fstatat64(). This allows us to determine if a device is a block device or a regular file without having to open it. This is the safest appraoch when probing /dev/ because the simple act of opening a device may have unexpected consequences. Closes openzfs#98
- Loading branch information