cvs commit: src/sbin/hammer cmd_snapshot.c

Michael Neumann mneumann at crater.dragonflybsd.org
Thu Jun 26 08:57:19 PDT 2008


mneumann    2008/06/26 08:56:45 PDT

DragonFly src repository

  Modified files:
    sbin/hammer          cmd_snapshot.c 
  Log:
  Use strftime to produce the snapshot name, for example:
  
      hammer snapshot "/mysnapshots/snap-%Y-%m-%dT%H:%M:%S"
  
  Usage is now:
  
      hammer snapshot <softlink-dir-fmt>
      hammer snapshot <filesystem> <softlink-dir-fmt>
  
  Revision  Changes    Path
  1.3       +54 -19    src/sbin/hammer/cmd_snapshot.c


http://www.dragonflybsd.org/cvsweb/src/sbin/hammer/cmd_snapshot.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list