45cb33f64f
Devices were only being created at module load time or when a dataset was created. Similiar devices were not always being removed at all the correct times. This patch updates all the places where devices should either be created or removed. I'm reasonably sure I got them all but if theres a case I missed we can catch it with a follow up patch. module load/unload zfs create/remove zpool import/export zpool destroy This patch also adds a simple regression test to zconfig.sh to ensure zpool import/export is basically working properly. This test specifically checks that devices are created properly, removed after export, created after import, and removed as a consequence of a zpool destroy. |
||
---|---|---|
.. | ||
zpool-config | ||
Makefile.am | ||
common.sh | ||
zconfig.sh | ||
zfs-update.sh | ||
zfs.sh | ||
zpool-create.sh |