Rewieved-by me. As this is a pretty useful addition we can add an update to the manpage as a followup. On Thu, Mar 28, 2019 at 8:05 PM Steve French <smfrench@xxxxxxxxx> wrote: > > Patch to smbinfo tool (in cifs-utils) to allow listing previous > versions (snapshots) of an SMB3 mounted share. Note that cifs.ko has > a mount option "snapshot=" which can be used to mount the previous > version of a share. > > Sample output: > > $ ./smbinfo list-snapshots /mnt/file > Number of snapshots: 5 Number of snapshots returned: 5 > Snapshot list: > 1) @GMT-2019.03.27-20.52.19 > 2) @GMT-2019.03.27-20.50.20 > 3) @GMT-2019.03.16-22.25.54 > 4) @GMT-2019.03.16-22.22.28 > 5) @GMT-2018.10.12-08.30.11 > > > -- > Thanks, > > Steve