LEVIATHAN SYSTEMS

AI Infrastructure

Two Model Paths Can Refer to One Mutable File

Technical contentPublished Updated

Two model paths can be hard links to the same mutable file. A permitted in-place edit through either name changes that one file, so both names subsequently expose the changed contents. A buyer who needs an editable variant that leaves a reference artifact unchanged needs separate file identity and private-write behavior. Different path strings and matching initial contents do not establish that separation.

Ask whether the second path names another file

An artifact supplier may describe two directories as containing a reference model and a working copy. That description leaves a consequential question open: do the paths select separate files, or are they two names for the same file?

Linux man-pages 6.19 describes a hard link as another name for an existing file. Neither name is inherently the original. The names share the file's ownership and permissions because they refer to one object. Calling one path reference and the other working does not create a private version.

An inode carries file metadata. Its number is unique within its filesystem, rather than across all filesystems. A statement that two paths identify inode 400 therefore needs the filesystem or device context; the bare number cannot establish identity between unrelated storage systems. Here, identity describes the files at the stated observation, not an immutable identifier for their contents.

The example uses existing hard links to ordinary regular files on one local Linux filesystem. It explains completed file-content states, rather than network-client cache behavior or what a running model has already loaded.

References: [H1][I1]

ALIAS72 starts with equal contents but different relationships

Fictional ALIAS72 has one filesystem, F7. Paths A and B are the only two hard links to inode 400. Its contents are represented by [1, 2, 3]. Path C names a separately copied file, inode 401 on F7, whose contents are also [1, 2, 3].

The three integers are unitless teaching values, not a real model format or a byte-capacity specification. C is stipulated to be a separate file with private later writes. There are no concurrent changes, name replacements or other writers in this case. No file operation or model evaluation has been performed.

Initially, reading the represented contents through any of the three paths yields [1, 2, 3]. A content-only comparison at this point cannot distinguish the A/B alias relationship from C's separate identity. Equal values answer what the files contain now; they leave open which paths share a mutable object.

For a buyer, this is the difference between receiving another way to reach the reference artifact and receiving a variant that can diverge from it. The delivery needs to identify which relationship it supplies.

References: [H1][I1]

The in-place edit changes the shared file

At the next stipulated observation, a permitted, completed in-place edit through B has changed inode 400's second value from 2 to 9. It has modified the existing file rather than substituting another file for B. C has received no edit.

A now exposes [1, 9, 3]. B also exposes [1, 9, 3]. C still exposes [1, 2, 3]. There was no copying of the change from B to A: both names select the already changed inode 400. A's name remaining unchanged supplies no reason for its contents to remain [1, 2, 3].

Suppose B's name is subsequently removed, with no further content changes. Inode 400's hard-link count falls from two to one, and A still names it with [1, 9, 3]. Removing B neither reverses the edit nor removes the file still named by A. C continues to name inode 401 with its original values.

This is why the working-copy requirement matters before the edit. If the buyer intended B to be independently editable while A retained the delivered reference values, the initial A/B relationship already failed that requirement. The later edit reveals the consequence of sharing one mutable file; it does not establish a failed synchronization between two copies.

References: [H1][I1][U1]

Choose the artifact relationship the consumer needs

Consider two fictional supply offers for ALIAS72. Offer Shared supplies A and B as aliases of inode 400 and expressly allows an edit through either name to affect the shared artifact. Offer Private supplies a separate working file whose later edits leave the reference file's contents unchanged. These are explanatory offer terms, not Leviathan service commitments.

Shared can be useful when two locations intentionally provide access to one jointly maintained artifact and the buyer accepts that shared mutability. It is insufficient when one location must retain the reference while the other is edited. Private addresses that second requirement if its separate identity and private-write behavior are established for the offered implementation. The distinction concerns content isolation, so it does not by itself require a second full physical copy of every data block.

Ask the appointed artifact or storage supplier to identify what each delivered path names, the filesystem context for that identity, and whether the application's intended saves modify that file or replace its name. Connect those answers to the promised result: may the working artifact change the reference, or must its changes stay private? A list of filenames and equal initial contents leaves that promise unresolved.

Treat retained content, recovery and capacity as additional requirements. A release-like filename does not enforce immutability. Separate C is unchanged in the stipulated edit, but its identity alone establishes neither independent failure protection nor a usable backup. Neither three path names nor two inode identities establishes allocated storage. The useful buying decision is to secure the required edit relationship, then assess those other claims on their own evidence.

References: [H1][I1][R1][B1]

Connect a separate equipment project to physical installation

If the surrounding platform project also requires equipment installation, Leviathan's rack-and-stack service and project inquiry below are relevant to that physical work. Share a nonconfidential equipment summary, site, approved rack positions, IT connection requirements and required installation records to discuss scope and availability.

Artifact supply, filesystem administration and application save behavior remain with the appointed software and storage teams. This educational example does not define a Leviathan storage-administration or managed-cloud service.

References: [L1]

Primary sources

  1. [H1] Linux man-pages 6.19: link(2), February 11, 2026Checked 2026-10-21. Describes hard links as names for the same file, sharing ownership and permissions. Hard links cannot span filesystems; creation also has mount, permission and filesystem restrictions. ALIAS72 stipulates existing links.
  2. [I1] Linux man-pages 6.19: inode(7), February 8, 2026Checked 2026-10-21. Explains filesystem/device context, inode-number uniqueness within a filesystem, file metadata and hard-link count. Inode identity is distinct from a claim of unchanging contents.
  3. [U1] Linux man-pages 6.19: unlink(2), February 8, 2026Checked 2026-10-21. Explains removal of a name and file lifetime with remaining links or open references. The case removes only B while A remains; it supplies no secure-erasure or space-reclamation result.
  4. [N1] Linux man-pages 6.19: rename(2), February 8, 2026Checked 2026-10-21. Describes destination-name replacement and unaffected other hard links. Used to distinguish replacing a name with another file from modifying the existing file, without a save or rollout procedure.
  5. [R1] Linux man-pages 6.19: FICLONE(2const), February 8, 2026Checked 2026-10-21. On supporting filesystems, shared-region writes remain private to the written file. Eligibility and copy-on-write allocation requirements apply; this contrast establishes no universal clone support or capacity allowance.
  6. [B1] Btrfs project documentation: ReflinkChecked 2026-10-21. Unversioned project explanation of separate file metadata referencing shared blocks and independent changes. Its implementation constraints are relevant when a supplier offers Btrfs reflinks.
  7. [L1] Leviathan Systems: Rack-and-Stack InstallationChecked 2026-10-21. Project-defined physical equipment installation and handoff. Any engagement depends on the equipment, site requirements, agreed scope and team availability; software and filesystem administration are separate.

Does the platform project also need equipment installed?

Share a nonconfidential equipment, site, rack-position and IT connection outline to discuss a separately agreed physical installation scope and availability.

Discuss a ProjectEmail Project Scope