Dynamic symbolic links for referencing in a file system

US9819570B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9819570-B2
Application numberUS-201314050255-A
CountryUS
Kind codeB2
Filing dateOct 9, 2013
Priority dateOct 9, 2013
Publication dateNov 14, 2017
Grant dateNov 14, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the invention 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.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for providing dynamic absolute-path symbolic links, the computer program product comprising a computer readable storage device 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 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; return the second absolute path in response to a determination that the in-memory record is empty or does not exist; and in response to a determination that the in-memory record is non-empty after receiving the request to the symbolic link: replace the outdated target mount point from the second absolute path with the current mount point to form a modified absolute path; and return the modified absolute path. 2. The computer program product as recited in claim 1 , wherein the program code for verifying that the target mount point is identical to the current mount point comprises program code readable/executable by the processor to: compare a string length of the target mount point to a string length of the current mount point; determine that the target mount point is not identical to the current mount point in response to a determination that the string length is different; and determine that the target mount point is not identical to the current mount point in response to a determination that the string length is the same and a content of the current mount point is different from a content of the target mount point. 3. The computer program product as recited in claim 1 , wherein the program code is further readable/executable by the processor to update the in-memory record of the symbolic link in response to a change to the current mount point of the target by: determining a string length of the current mount point, and updating the in-memory record of the symbolic link with the string length of the current mount point. 4. The computer program product as recited in claim 1 , wherein the program code is further readable/executable by the processor to store a length of a media identifier to the in-memory record in response to a determination that the symbolic link includes the media identifier. 5. The computer program product as recited in claim 4 , wherein the program code is further readable/executable by the processor to: in response to a determination that the in-memory record is non-empty: replace the outdated target mount point from the second absolute path with the current mount point and the media identifier to form a modified absolute path; and return the modified absolute path. 6. The computer program product as recited in claim 1 , wherein a plurality of in-memory records are stored for a plurality of symbolic links, each updated in-memory record indicating a current mount point for its associated target, and wherein the target comprises at least one file and/or at least one directory stored on media of a storage system. 7. A computer program product for using dynamic absolute-path symbolic links, the computer program product comprising a computer readable storage device 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 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. 8. The computer program product as recited in claim 7 , wherein the program code is further readable/executable by the processor to: receive indication of the symbolic link, the indication including the absolute path of the target; identify the current mount point of the target; verify that the target mount point is identical to the current mount point; and 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 for the symbolic link, the in-memory record comprising the string length of the current mount point associated with the symbolic link. 9. The computer program product as recited in claim 8 , wherein the program code for verifying that the target mount point is identical to the current mount point comprises program code readable/executable by the processor to: compare a string length of the target mount point to a string length of the current mount point; determine that the target mount point is not identical to the current mount point in response to a determination that the string length is different; and determine that the target mount point is not identical to the current mount point in response to a determination that the string length is the same and a content of the current mount point is different from a content of the target mount point. 10. The computer program product as recited in claim 8 , wherein the program code is further readable/executable by the processor to store a length of a media identifier to the in-memory record in response to a determination that the symbolic link includes the media identifier. 11. The computer program product as recited in claim 7 , wherein the program code is further readable/executable by the processor to add a media identifier to the modified absolute path in response to a determination that the in-memory record comprises the media identifier. 12. The computer program product as recited in claim 7 , wherein the program code is further readable/executable by the processor to update the in-memory record of the symbolic link in response to a change to the current mount point of the target by: determining a string length of the current mount point, and updating the in-memory record of the symbolic link with the string length of the current mount point. 13. The computer program product as recited in claim 7 , wherein a plurality of in-memory records are stored for a plurality of symbolic links, each updated in-memory record indicating a current mount point for its associated target, and wherein the target comprises at least one file and/or at least one directory stored on media of a storage system. 14. A system configured to provide dynamic absolu

Assignees

Inventors

Classifications

  • H04L45/02Primary

    Topology update or discovery · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9819570B2 cover?
Embodiments of the invention 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 …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification H04L45/02. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Nov 14 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).