Extend hammer snapls output

Stathis Kamperis ekamperi at gmail.com
Tue Feb 2 08:32:02 PST 2010


Salute,

Here is a patch that extends 'hammer snapls' output:
http://leaf.dragonflybsd.org/~beket/0001-hammer-snapls-Print-more-verbose-output.patch

This is how it looks like with the patch applied:

beket:~% hammer snapls /home /var
Snapshots on /home      PFS #4
Transaction ID          Timestamp               Note
0x00000001097c54a0      2010-01-30 10:25:55 EET -
0x000000010b866090      2010-01-30 14:16:45 EET -
0x00000001131e7910      2010-01-31 11:41:21 EET -
0x00000001152395e0      2010-02-01 08:49:02 EET This is just a note
0x0000000115262570      2010-02-01 09:00:40 EET -
0x000000011768c680      2010-02-02 10:07:17 EET -
Snapshots on /var       PFS #1
Transaction ID          Timestamp               Note
0x000000010b84d660      2010-01-30 14:13:29 EET -
0x00000001131cf2c0      2010-01-31 11:40:43 EET -
0x0000000115249dc0      2010-02-01 08:59:50 EET -
0x0000000117673f50      2010-02-02 10:06:27 EET -
beket:~%

(You can compare the output with your current snapls version)

Unless someone objects, I'll push it in a couple of days top.

Cheers,
Stathis





More information about the Submit mailing list