Maybe it just prints the patent directory, then. I’m not sure why it calls creat, though…
I think ‘dotdot’ is what is called ‘dd’ there (the corresponding symbol in ls is still named ‘dd'). I don't think the concept of a parent directory existed yet. Maybe ‘pd’ is something like ‘prepare directory’, constructing the dd/dotdot entry.
I think this is on the right track - it looks like the write call is to the newly created .., with df being used to hold the file descriptor.
I am leaning toward Pete_D's ‘pack directory’ idea.
¹ https://github.com/DoctorWkt/pdp7-unix/blob/e94417092a2980e7...