$ cat <<'EOF' >x.lisp
heredoc> (require :uiop)
heredoc> (let ((p (make-pathname :name "foo:bar")))
heredoc> (format t "~@{~A~%~}" (namestring p) (uiop:native-namestring p)))
heredoc> EOF
$ ccl -b -Q -l x.lisp </dev/null
foo\:bar
foo:bar
$ sbcl --script x.lisp
foo:bar
foo:bar $ touch "foo:bar"
In the Terminal, then Finder renders it as foo/bar.So who is lying, how is it stored in the directory entry in APFS itself?