shadow_copy2_realpath() snapshot path component removal
Volker.Lendecke at SerNet.DE
Wed Feb 12 06:57:39 MST 2014
On Wed, Feb 12, 2014 at 02:43:23PM +0100, David Disseldorp wrote:
> As part of the shadow_copy2 module rewrite, logic was added to remove
> any snapshot component (e.g. @GMT-1984...) from the path returned by the
> realpath VFS hook.
> Do you recall whether there was something at a protocol level that
> required this behaviour, or was it done to avoid wide link checks
> so that snapshots could reside outside of the base share?
It's the latter if I remember correctly. This allows
snapshots outside the share root with proper wide links
checks still in place.
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