[PATCH] pathname cleanups

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri May 19 04:54:05 UTC 2017

On Thu, May 18, 2017 at 08:40:57PM -0700, Jeremy Allison via samba-technical wrote:
> I'm getting ready to move the @GMT snapshot
> name handling into struct smb_filename to
> clean up a lot of the shadow_copy2 code.

As you mention it: I've got a report from a customer that a certain
access pattern does not work anymore: GPFS has the ability to show the
.snapshots directory (the one where all the @GMT- subdirs show up) in
all directories, with @GMT- subdirectories being relative to the
current dir.

For clients that do not understand the @GMT- logic or the timewarp
token, essentially all non-windows clients, we need to be able to
access previous versions through the subdir/.snapshots/@GMT-../subdir
path. I think in the shadow_copy2 module we need to also preserve the
non-stripped name and try with that also. Any other ideas?

Thanks, Volker

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list