Re: btrfs subvol find-modified

2010-03-26 Thread Goffredo Baroncelli
On Friday 26 March 2010, Chris Mason wrote: > In general, the end goal is backing up a snapshot the changes from a > point in time to right now. We don't actually need a snapshot to do > this, we just need the generation number and (optionally) a timestamp. I think that backup the difference bet

Re: btrfs subvol find-modified

2010-03-26 Thread Chris Mason
On Fri, Mar 26, 2010 at 09:36:31PM +0100, Goffredo Baroncelli wrote: > On Friday 26 March 2010, Chris Mason wrote: > > On Fri, Mar 26, 2010 at 09:22:07PM +0100, Dipl.-Ing. Michael Niederle wrote: > > > Hi, Chris! > > > > > > > Add an optional timestamp field to filter > > > > files that have chang

Re: btrfs subvol find-modified

2010-03-26 Thread Goffredo Baroncelli
On Friday 26 March 2010, Chris Mason wrote: > On Fri, Mar 26, 2010 at 09:22:07PM +0100, Dipl.-Ing. Michael Niederle wrote: > > Hi, Chris! > > > > > Add an optional timestamp field to filter > > > files that have changed since a given timestamp. > > > > Is there a possibility to derive the timesta

Re: btrfs subvol find-modified

2010-03-26 Thread Chris Mason
On Fri, Mar 26, 2010 at 09:22:07PM +0100, Dipl.-Ing. Michael Niederle wrote: > Hi, Chris! > > > Add an optional timestamp field to filter > > files that have changed since a given timestamp. > > Is there a possibility to derive the timestamp directly from the generation > number? I'm afraid not.

Re: btrfs subvol find-modified

2010-03-26 Thread Dipl.-Ing. Michael Niederle
Hi, Chris! > Add an optional timestamp field to filter > files that have changed since a given timestamp. Is there a possibility to derive the timestamp directly from the generation number? If we have a "-e"-switch for printing extent-information we could also have another switch to decide wheth

Re: btrfs subvol find-modified

2010-03-26 Thread Chris Mason
On Fri, Mar 26, 2010 at 07:51:47PM +0100, Dipl.-Ing. Michael Niederle wrote: > I have added a command > > btrfs subvolume find-modified > List the recently modified files and directories in a filesystem. > > It's similar to find-new with the following differences: Ok, I'd suggest two cha

btrfs subvol find-modified

2010-03-26 Thread Dipl.-Ing. Michael Niederle
I have added a command btrfs subvolume find-modified List the recently modified files and directories in a filesystem. It's similar to find-new with the following differences: * in addition to modified files it will also display modified directories * it lists only the paths of the mo