On 08/18/11 19:19, Brock Pytlik wrote:
On 08/17/11 17:53, Shawn Walker wrote:
Greetings,
The following webrev contains changes for the following RFEs and bugs:
18827 pkg(1) should provide interfaces to control backup BE creation
17608 image property needed to control BE creation
18826 operations performed on the live BE should create backup BEs as
needed
webrev:
https://cr.opensolaris.org/action/browse/pkg/swalker/pkg-clone-1/webrev/
-Shawn
...
bootenv.py:
182-193: I'm confused as to why these lines are necessary. The loop
above does a lot of work to ensure that the number selected is higher
than any existing be's number which shares the same name. So how could
189 ever be true?
To be honest, I'm uncertain. I lifted this code from libbe and tweaked
it a tiny bit for the suffix logic.
What I do know is that it works as I expect.
I get a new be named after my current one with the suffix "-backup-1".
I'll take another look at it just to be certain and do a few more tests,
but I think it's right.
Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss