diff options
author | Brian Behlendorf <[email protected]> | 2011-02-17 09:21:39 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-17 09:35:43 -0800 |
commit | f03e41e8da6d184039ea3b03ba4937f4786a3f22 (patch) | |
tree | 2041b8075118e717e397e38635655822ca2fa5ad /scripts | |
parent | 8b4f9a2d55fc5ee28f69b29f2fece7d8e2cb5c7a (diff) |
Improve 'zpool import' safety
There are three improvements here to 'zpool import' proposed by Fajar
in Github issue #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 #98
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions