-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate following symbolic links and flagging file as symlink #30
Comments
@rsmith013 will that work for the "extending" cases? We don't really want the real path in those cases, do we? I think we want to blindly follow symlinks when they resolve to a directory. |
@agstephens Not sure. Need to investigate. |
those cases would be easy to spot as they always link to a path starting "/datacentre/archvol" so you can put in a check for that and there's no need to mark them as symbolic. however - is there a use case to check here for Sam's purpose, i.e. knowing where in the structure such storage extension links are used ? Or could that be pulled back from the cedaarchiveinfoDB app thingy? |
@gap736uk @agstephens Do you have an example of a file which is an extending case? I have examples for the following cases: DIR LINKlink_path:
archive_path:
storage_path:
FILE LINKlink_path:
archive_path:
storage_path:
EXTENSION LINKlink_path:
archive_path:
storage_path:
|
@rsmith013 , I'm not sure what you mean by a "file which is an extending case" - please elaborate :-) |
@agstephens It's ok. I have an example. I just mean links that go out to another storage pot. |
There are two desired views of the archive.
Proposed solution:
the "feed-in-path". If they are the same, then we have an actual file eg. symlink = False. If they are
different, we have a symlinked route to the file. symlink = True
The text was updated successfully, but these errors were encountered: