1 |
On 04/20/2013 08:45 AM, Tuxle T wrote: |
2 |
> Dear all |
3 |
> |
4 |
> I am Stefan from Switzerland and I am looking for a mentor. |
5 |
> I currently have been pursuing a BEng in Computer Science at the Zurich |
6 |
> University of Applied Science. |
7 |
> |
8 |
> I am using Gentoo since 2009 on my server and since 2010 on my Laptop. |
9 |
> The biggest problem I have ever had with the system was undoing broken |
10 |
> updates of libpng, poppler or dev-libs/gmp |
11 |
> So, I have got the following idea: I would setup Gentoo's root on |
12 |
> `BtrFs` so that `emerge` takes a snaphshot every time something is being |
13 |
> modified. That way, rollbacks will become easy. |
14 |
> I am not sure if this is the best solution for everyone, because BtrFs |
15 |
> is still in development and not always an acceptable choice. |
16 |
> Nevertheless, I believe that this solution is a great one for developers. |
17 |
|
18 |
For the past couple of years, I've been doing btrfs snapshots of my root |
19 |
filesystem for all big updates, and it works very well for me. |
20 |
|
21 |
In order to go along with the Gentoo's "we're about choice" spirit, you |
22 |
could create a plugin framework that supports multiple backends for |
23 |
performing snapshots and doing bootloader configuration. That way, you |
24 |
could make it work with whatever the user's choice of |
25 |
filesystem/bootloader combination happens to be. |
26 |
-- |
27 |
Thanks, |
28 |
Zac |