Hi,
>From the man page of rename:
int rename(const char *oldpath, const char *newpath);
.....
If newpath already exists it will be atomically overwrit
^^^^^^^^
ten (subject to a few conditions - see ERRORS below), so
^^^
that there is no point at which another process attempting
to access newpath will find it missing.
You don't want to overwrite the existing libc.so or your running
binaries running against it will stop work in that moment.
Cheers, Juan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html