DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 18:42:50 -0700 (PDT)

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

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_cleanup.c cmd_pseudofs.c hammer.8 
  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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]