[tahoe-lafs-trac-stream] [tahoe-lafs] #641: tahoe backup should be able to backup symlinks

tahoe-lafs trac at tahoe-lafs.org
Tue May 15 17:13:36 UTC 2012


#641: tahoe backup should be able to backup symlinks
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:
  francois               |     Status:  new
         Type:  defect   |  Milestone:  undecided
     Priority:  normal   |    Version:  1.3.0
    Component:  code-    |   Keywords:  tahoe-backup symlink reliability
  frontend-cli           |  news-done review-needed design-review-needed
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Per [https://tahoe-lafs.org/pipermail/tahoe-dev/2012-April/007233.html
 this mailing list discussion], a better way to detect cycles than counting
 how many symlinks you've traversed is to examine the dev and inode of each
 thing and raise an exception about recursive symlinks if you encounter the
 same one a second time. Here's some code I wrote for a different tool that
 uses dev and inode to identify files:

 https://tahoe-
 lafs.org/trac/dupfilefind/browser/trunk/dupfilefind/dff.py?annotate=blame

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/641#comment:18>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list