DYNAMIC SYMBOLIC LINKS FOR REFERENCING IN A FILE SYSTEM
First Claim
1. A computer program product for providing dynamic absolute-path symbolic links, the computer program product comprising a computer readable storage medium having computer program code embodied therewith, the program code readable/executable by a processor to:
- receive indication of a symbolic link which references a target, the indication including an absolute path of the target, wherein the absolute path comprises a target mount point and a name of the target;
identify a current mount point of the target;
verify that the target mount point is identical to the current mount point;
in response to a determination that the target mount point is identical to the current mount point;
determine a string length of the current mount point, and create an in-memory record of the symbolic link, the in-memory record comprising the string length of the current mount point associated with the symbolic link;
receive a request to utilize the symbolic link, the symbolic link comprising a second absolute path with an outdated target mount point;
determine whether an in-memory record exists for the symbolic link; and
return the second absolute path in response to a determination that the in-memory record is empty or does not exist.
1 Assignment
0 Petitions
Accused Products
Abstract
Various embodiments relate to providing dynamic absolute-path symbolic links. According to one embodiment, indication of a symbolic link is received, which references a target, the indication including an absolute path of the target that includes a target mount point and a name of the target. A current mount point of the target is identified, and a verification is made that the target mount point is identical to the current mount point. When the target mount point is identical to the current mount point, a string length of the current mount point is determined, and an in-memory record of the symbolic link is created. The in-memory record includes the string length of the current mount point associated with the symbolic link.
3 Citations
19 Claims
-
1. A computer program product for providing dynamic absolute-path symbolic links, the computer program product comprising a computer readable storage medium having computer program code embodied therewith, the program code readable/executable by a processor to:
-
receive indication of a symbolic link which references a target, the indication including an absolute path of the target, wherein the absolute path comprises a target mount point and a name of the target; identify a current mount point of the target; verify that the target mount point is identical to the current mount point; in response to a determination that the target mount point is identical to the current mount point;
determine a string length of the current mount point, and create an in-memory record of the symbolic link, the in-memory record comprising the string length of the current mount point associated with the symbolic link;receive a request to utilize the symbolic link, the symbolic link comprising a second absolute path with an outdated target mount point; determine whether an in-memory record exists for the symbolic link; and return the second absolute path in response to a determination that the in-memory record is empty or does not exist. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for using dynamic absolute-path symbolic links, the computer program product comprising a computer readable storage medium having computer program code embodied therewith, the program code readable/executable by a processor to:
-
receive a request to utilize a symbolic link which references a target using an absolute path, the absolute path comprising a target mount point and a name of the target; determine whether an in-memory record exists for the symbolic link; return the absolute path in response to a determination that the in-memory record is empty or does not exist; in response to a determination that the in-memory record is non-empty;
replace the target mount point from the absolute path with a current mount point to form a modified absolute path and return the modified absolute path;receive a request to utilize the symbolic link, the symbolic link comprising a second absolute path with an outdated target mount point; determine whether an in-memory record exists for the symbolic link; and return the second absolute path in response to a determination that the in-memory record is empty or does not exist. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method for providing dynamic absolute-path symbolic links, the method comprising:
-
receiving a request to utilize a symbolic link which references a target using an absolute path with an outdated target mount point; determining whether an in-memory record exists for the symbolic link; and in response to determining that the in-memory record is non-empty;
replacing the outdated target mount point from the absolute path with a current mount point to form a modified absolute path, and returning the modified absolute path. - View Dependent Claims (16, 17, 18, 19)
-
Specification