newlock = ParentDir( lock )
D0 D1
BPTR ParentDir(BPTR)
The argument 'lock' is associated with a given file or directory. ParentDir() returns 'newlock' which is associated with the parent directory of 'lock'.
Taking the ParentDir() of the root of the current file system returns a NULL (0) Lock. Note this NULL
Lock represents the root of the file system that you booted from (which is, in effect, the parent of all other file system roots.)