Timeline for Better to use local running rm -rf instead of over nfs?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2023 at 16:50 | comment | added | peterh | I think the parallel version of the gnu coreutils should have been long developed. | |
| Aug 31, 2017 at 15:27 | history | edited | peterh | CC BY-SA 3.0 |
added 553 characters in body
|
| Aug 31, 2017 at 12:19 | comment | added | el.pescado - нет войне |
The nfs case is even worse. As question mentions -r flag, rm has to first check if file is a directory (lstat via nfs), open it (opendir via nfs), read its contents (readdir via nfs), and only then perform actual deletion as described in answer on every file found inside and recursing into subdirectories, close directory (closedir via nfs), and then repeat, for every found dir.
|
|
| Aug 31, 2017 at 11:15 | vote | accept | steviekm3 | ||
| Aug 31, 2017 at 11:11 | history | answered | peterh | CC BY-SA 3.0 |