| fs = abs-files(files), ofh = abs-of(of), path = q + str ', root.dir?, dom of < ino0, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files), fids-cons(root, abs-files(files), abs-of(of)), ispath(q, ROOT_INO, ino1, dirs, files), of-cons(of, dirs, files), px-parent(user, q, ROOT_INO, dirs, files), ROOT_INO ∈ dirs, ino1 ∈ files, psynced → asynced ⊦ ∃ err. pre-link(path, path', err, user, root, fs, ofh) ∧ ⟨err0 := err; if err0 = ESUCCESS then let fid = root[path].fid in root[path'] := fnode(fid); psynced := ?⟩ (abs(root, ROOT_INO)(dirs) ∧ (psynced → asynced) ∧ ENOTDIR = err0), path' = ε, root[q].dir?, ino1 ∈ dirs |
path' ≠ ε, root.dir?, dom of < ino0, abs(root, ROOT_INO)(dirs), afs-cons(dirs, files), fids-cons(root, abs-files(files), abs-of(of)), ispath(q, ROOT_INO, ino1, dirs, files), of-cons(of, dirs, files), px-parent(user, q, ROOT_INO, dirs, files), ino1 ∈ files, ROOT_INO ∈ dirs, ¬ root[q].dir?, ¬ ino1 ∈ dirs, psynced → asynced ⊦ ∃ err. pre-link(q + str ', path', err, user, root, abs-files(files), abs-of(of)) ∧ ⟨err0 := err; if err0 = ESUCCESS then let fid = root[q + str '].fid in root[path'] := fnode(fid); psynced := ?⟩ (abs(root, ROOT_INO)(dirs) ∧ (psynced → asynced) ∧ ENOTDIR = err0)