3 ms·
If you have to update multiple files (say the main executable and a few shared libraries that it may only load when it needs them), you’ll need a transactional
by Someone 5y ago
If you have to update multiple files (say the main executable and a few shared libraries that it may only load when it needs them), you’ll need a transactional file system.
Even then there’s still downtime when you restart the executable (could be seconds, but also minutes). Preventing that is possible, too (even on a single machine), but the cost often doesn’t make it worth it.
And nitpick: I think you know it, but for others: “unlinking and replacing” is essential. “Overwriting” (keeping the inode number the same) can be problematic.
- teddyh 5y ago> “unlinking and replacing” is essential. “Overwriting” (keeping the inode number the same) can be problematic. Yes, that is why /usr/bin/install exists.