Changes by: Nathaniel Gray (n8gray at cs.caltech.edu)
Date: 2007-05-07 18:28:12 -0700 (Mon, 07 May 2007)
Revision: 111
Log message:
Added a test for aliases. The methodology here is debatable. I believe that if
you're backing up /foo and hit an alias to some file /foo/bar, when you restore
(or copy) to /baz the alias should point to /baz/bar. If the alias points to
/random/boing (outside the tree you're backing up) then it should stay pointing
there. However, I suspect somebody could convince me that this is a bad idea.
This is complicated because:
* Aliases are finder things, not filesystem things
* Carbon "Alias" interfaces are *not* for the finder things, they're for
an in-memory representation of a file that *acts* like the finder thing
* You can have absolute or relative in-memory aliases
* I don't know what the finder creates, but I think they're absolute.
Changes | Path |
Added | public/backup-bouncer/tests.d/25-aliases.test |
Added | public/backup-bouncer/util/lsalias |
Added | public/backup-bouncer/util/make_alias |