On Tue, 2009-09-29 at 16:03 +0000, Alexander Eremin wrote:
> Hi - here's a small webrev to remove swap deleting during os discovering
>
> webrev:
>
> http://cr.opensolaris.org/~alhazred/7915/
Tests with tdmgtst
Before:
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0d0s1 102,1 8 1076344 1076344
# ./tdmgtst_static -d
Caiman Target Discovery test program - Version 4
disk discovery:
1 found - getting attributes...
disk 0)
...
releasing resources...
finished.
# swap -l
No swap devices configured
After:
# ./tdmgtst_static -d
Caiman Target Discovery test program - Version 4
disk discovery:
1 found - getting attributes...
disk 0)
...
releasing resources...
finished.
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0d0s1 102,1 8 1076344 1076344
--
::alhazred