cvs commit: src/sbin/hammer cmd_cleanup.c cmd_pseudofs.c hammer.8

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 23 18:43:55 PDT 2008


dillon      2008/09/23 18:42:50 PDT

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_cleanup.c cmd_pseudofs.c hammer.8 
  Log:
  Additions to 'hammer pfs-*':
  
      * Add 'snapshots=dir' and 'snapshots-clear' options
  
        This allows you to specify the snapshots directory for any PFS, master
        or slave.  The option will override the default "snapshots"
        sub-directory used by the 'hammer cleanup' directive for PFS masters.
  
        This option is required for PFS slaves since the hammer cleanup
        directive cannot use a directory in the slave PFS as a working
        directory (because its a slave).
  
  Additions to 'hammer cleanup':
  
      * Implement the snapshot limit found the config file.  e.g. if the
        <fs>/snapshots/config file contains: 'snapshots 1d 60d' then
        the filesystem is snapshotted once a day and snapshot softlinks over
        60 days old will be deleted.
  
      * This directive now checks the snapshots path configured in the PFS
        and uses it if it is not empty.  The snapshots path must be configured
        for slaves.
  
  Revision  Changes    Path
  1.4       +96 -9     src/sbin/hammer/cmd_cleanup.c
  1.11      +36 -2     src/sbin/hammer/cmd_pseudofs.c
  1.48      +19 -2     src/sbin/hammer/hammer.8


http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_cleanup.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_pseudofs.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/hammer.8.diff?r1=1.47&r2=1.48&f=u





More information about the Commits mailing list