M. Mueller
2006-Oct-01 19:28 UTC
[Samba] vfs object recycle: could two shares use the same repository?
Hi, i use the vfs-object "recycle" on the [homes] share and defined recycle:repository = /backup/recycle/%G/%U/.recycle. What happens, when using the same repository path for another share, e.g. [data]. Could this lead to data loss in the waste bin? I could of course branch into "/backup/recycle/%G/%U/.recycle/homes" and "/backup/recycle/%G/%U/.recycle/data" but i would like to avoid that. Thanks for any comments, Malte M?ller
Felipe Augusto van de Wiel
2006-Oct-02 16:06 UTC
[Samba] vfs object recycle: could two shares use the same repository?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/01/2006 04:28 PM, M. Mueller escreveu:> Hi, > i use the vfs-object "recycle" on the [homes] share and defined > recycle:repository = /backup/recycle/%G/%U/.recycle. > What happens, when using the same repository path for another share, > e.g. [data]. Could this lead to data loss in the waste bin?I never did that, and should be easy to test it out, but I don't know what would happen if two filenames has the same name and were deleted from different shares.> I could of course branch into "/backup/recycle/%G/%U/.recycle/homes" and > "/backup/recycle/%G/%U/.recycle/data" but i would like to avoid that.Maybe you can use another variable on the path, to make it more "automagic". :-)> Thanks for any comments, > Malte M?llerKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFITjgCj65ZxU4gPQRAuSyAKCdNo6KvV4YM6sQ9UQjvFvPAAgr5ACcCfBE g2H6ux9y0as9pXFAzLl1bMQ=/d/r -----END PGP SIGNATURE-----