Extracting changed files list from snapshot

Mel fbsd.questions at rachie.is-a-geek.net
Wed Dec 17 08:47:15 UTC 2008


On Tuesday 16 December 2008 15:18:19 Bernard Dugas wrote:

> I want to extract the list of files changed between 2 snapshots, to be
> able to do efficient backups.

Just use dump(8)?
And what snapshots do you mean? As in mksnap_ffs? Cause that's described 
in /usr/src/sys/ufs/ffs/ffs_snapshot.c:
   127  TAILQ_HEAD(snaphead, inode);
   128
   129  struct snapdata {
   130          struct snaphead sn_head;
   131          daddr_t sn_listsize;
   132          daddr_t *sn_blklist;
   133          struct lock sn_lock;
   134  };
   135

and not exposed to userland.
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list