| dirs[ino1] = mkdir(# entries, md, # links(ino1, dirs), m1, entries), path' ≠ ε, root.dir?, root[q].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(user, md), px-parent(user, q, ROOT_INO, dirs, files), ino1 ∈ dirs, ¬ str ∈ entries, psynced → asynced, links(ino1, dirs) ≠ ∅ ∨ ino1 = ROOT_INO ⊦ ⟨err0 := ENOENT; if err0 = ESUCCESS then let fid = root[q + str '].fid in root[path'] := fnode(fid); psynced := ?⟩ (abs(root, ROOT_INO)(dirs) ∧ (psynced → asynced) ∧ ENOENT = err0) |
dirs[ino1] = mkdir(# entries, md, # links(ino1, dirs), m1, entries), err0 = ENOENT, root[q].dir?, 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(user, md), px-parent(user, q, ROOT_INO, dirs, files), ino1 ∈ dirs, psynced → asynced, links(ino1, dirs) ≠ ∅ ∨ ino1 = ROOT_INO ⊦ ⟨if err0 = ESUCCESS then let fid = root[q + str '].fid in root[path'] := fnode(fid); psynced := ?⟩ (abs(root, ROOT_INO)(dirs) ∧ (psynced → asynced) ∧ ENOENT = err0), path' = ε, str ∈ entries