Re: revert to static snapshot on reboot

2012-01-12 Thread Niels de Carpentier
The plan that occurs to me is to make a snapshot of the system in the state that I want to always boot. Then, I would rewrite the init script in the initrd to (a) delete any old tmp copy of the snapshot; (b) copy the static snapshot to a tmp copy; (c) mount the tmp copy. That's a little

Re: revert to static snapshot on reboot

2012-01-12 Thread Hugo Mills
On Mon, Jan 09, 2012 at 04:21:31PM +0100, Niels de Carpentier wrote: The plan that occurs to me is to make a snapshot of the system in the state that I want to always boot. Then, I would rewrite the init script in the initrd to (a) delete any old tmp copy of the snapshot; (b) copy the

Re: revert to static snapshot on reboot

2012-01-12 Thread Niels de Carpentier
On Mon, Jan 09, 2012 at 04:21:31PM +0100, Niels de Carpentier wrote: The plan that occurs to me is to make a snapshot of the system in the state that I want to always boot. Then, I would rewrite the init script in the initrd to (a) delete any old tmp copy of the snapshot; (b) copy the

Re: revert to static snapshot on reboot

2012-01-10 Thread Kai Krakow
Hello! bt...@spiritvideo.com bt...@spiritvideo.com schrieb: The plan that occurs to me is to make a snapshot of the system in the state that I want to always boot. Then, I would rewrite the init script in the initrd to (a) delete any old tmp copy of the snapshot; (b) copy the static

Re: revert to static snapshot on reboot

2012-01-10 Thread Anand Jain
Upcoming btrfs autosnap feature might help your problem-solution. But the main part in your case which is to replace the root with its snapshot is something beyond the scope of autosnap project. What is being developed is a set of btrfs-prog sub-command to create and manage snapshots

Re: revert to static snapshot on reboot

2012-01-09 Thread Hugo Mills
On Sun, Jan 08, 2012 at 10:43:04PM -0800, bt...@spiritvideo.com wrote: Hi all -- I just installed my first btrfs-based linux tonight, and I must say it gives me a very warm feeling! Congratulations on all your hard work and your fine product. I administer laptops for a small school, and

revert to static snapshot on reboot

2012-01-08 Thread btrfs
Hi all -- I just installed my first btrfs-based linux tonight, and I must say it gives me a very warm feeling! Congratulations on all your hard work and your fine product. I administer laptops for a small school, and we want to implement what Deep Freeze