Re: btrfs-progs: New utility to swap subvolumes

2010-01-06 Thread Goffredo Baroncelli
Hello, here [*] you can find my script. Please pay attention to the fact that it is only tested on my *ubuntu* box. The program has 4 main commands: $ ./snapmng.sh snapmng.sh [-n] create snapname [comment] Create a new snapshot. snapmng.sh list

Re: btrfs-progs: New utility to swap subvolumes

2010-01-05 Thread TARUISI Hiroaki
Thanks for your greetings. I read your article, and could follow your idea, which looks very practical rule to me. But we may need some application which support to create or maintain these rules because the relation mount point and subvolumes and snapshots gets complicated as number of

Re: btrfs-progs: New utility to swap subvolumes

2010-01-05 Thread Goffredo Baroncelli
On Wednesday 06 January 2010, TARUISI Hiroaki wrote: Thanks for your greetings. I read your article, and could follow your idea, which looks very practical rule to me. But we may need some application which support to create or maintain these rules because the relation mount point and

Re: btrfs-progs: New utility to swap subvolumes

2010-01-04 Thread Goffredo Baroncelli
On Monday 04 January 2010, TARUISI Hiroaki wrote: Buon anno, Goffredo. あけまして おめでとう Taruisi, (I hope that happy new year is correctly written) Taking snapshot in btrfs is very easy, but handling snapshots is very confusing. So, we must make a rule of snapshotting such as your proposal, which

Re: btrfs-progs: New utility to swap subvolumes

2009-12-27 Thread Goffredo Baroncelli
On Thursday 24 December 2009, TARUISI Hiroaki wrote: New utility(btrfsrevert) added to swap subvolumes. With this utility, a subvolume (Source Subvolume) takes place of another subvolume (Target Subvolume), and target subvolume goes under hidden directory(.old_trees) in filesystem root(fs

Re: btrfs-progs: New utility to swap subvolumes

2009-12-27 Thread TARUISI Hiroaki
Thank you for your mail. I intended to create a swap utility including root subvolume. That was the goal. Swapping root subvolume is not implemented yet... For now, as you say, in some cases this utility does simple mv commands, but in some cases, it has some advantages. We can swap subvolumes