Create a filesystem with persistent symbolic links that survive deletes. After deletion, an "invisible" (possibly visible) trap door in the file system saying if a file is ever created with this path, it actually gets created elsewhere.
Not sure what to do if the parent directory (containing the link) moves and a new directory of the same name is created on the same spot.
Possibly a solution in search of a problem, though the motivation is, having symlinked an application's initialization file elsewhere, prevent the application from undoing the work by reading, deleting, and writing the file.
No comments :
Post a Comment