On Fri, Mar 21, 2008 at 02:35:21PM -0700, Ethan Quach wrote: > > > Tim Knitter wrote: > > > > > > Ethan Quach wrote: > >> > >> > >> Dan Price wrote: > >>> On Fri 21 Mar 2008 at 02:23PM, Tim Knitter wrote: > >>> > >>>> pkg install & uninstall ... > >>>> - Take a snapshot before the attempted install/uninstall > >>>> - install/uninstall to the live BE (see Note below) > >>>> - If there are install/uninstall errors: > >>>> ~ clone the snapshot > >>>> ~ mount it but do not activate. ~ display to user > >>>> that the failed attempt > >>>> can be restored by activating the clone and rebooting > >>>> - If there are no installation errors: > >>>> destroy the snapshot. > >>>> > >>> > >>> This seems a bit confusing to me: If an install encounters errors-- > >>> can't we > >>> just back out what we did and restore the files we changed from the > >>> snapshot? (or from the repo?) > >>> > >> > >> Or what about just rolling back to the snapshot? > > > > Rolling back to the snapshot won't work for operations on the live BE > > since it can't be unmounted. I proposed rollback for the non-live > > solution. > > zfs does support rollback without unmount now, even on the root fs. > > -ethan >
hm. i wonder how that works for mmap()'d files... ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
