The following describes notes for executing rename(2).
If a directory is specified for the place from which a file is moved, rename(2) must not be used for the directory's parent directory.
If rename(2) is executed by mistake, file operation may hang. If this occurs, reboot a node where the file hangs and recover the failed file.
When changing a file name in the same directory, specify the name so that absolute path and relative path will not coexist in newpath and oldpath arguments of rename(2).