| 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 ⊦ ⟨err0 := ENOTDIR; 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) |
err0 = ENOTDIR, 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 ⊦ ⟨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), path' = ε, root[q].dir?, ino1 ∈ dirs