gfs_rename renames a file or directory
If gfarm_url_to already exists,
it will be replaced. In this case, when gfarm_url_from
is a file gfarm_url_to also must be a file, when
gfarm_url_from is a directory,
gfarm_url_to must be a empty directory.
Gfs_rename() can't rename a directory
to a subdirectory of itself.
The function terminated successfully.
Insufficient memory was available.
User authentication failed when connecting to gfmd(8).
The parent directory of gfarm_url_from or
gfarm_url_to did not allow write permission.
A attempt was made to rename the directory
gfarm_url_from to a subdirectory of itself.
gfarm_url_from does not exist.
gfarm_url_to is a existing directory,
though gfarm_url_from is not a directory.
gfarm_url_to is not a directory.
though gfarm_url_from is a directory.
An error except the above occurred. The reason is shown by its