4 ms·
Like Windows file share mode. Mandatory, "hard" lock on a file. The OS doesn't let you delete it if another process holds it open. (You can forbid any of 3: rea
by zvrba 4y ago
Like Windows file share mode. Mandatory, "hard" lock on a file. The OS doesn't let you delete it if another process holds it open. (You can forbid any of 3: reading, writing, deleting by another process. It is completely orthogonal to the ACL permissions system.)
- tinus_hn 4y agoAnd it’s the reason you need to reboot all the time.
- zvrba 4y ago??? All the time? I reboot ca once a month, for windows update.
- BenjiWiebe 4y agoYou can update Linux without rebooting, except for the kernel (and even then there's options). Rebooting once a month is way more often than some of my Linux systems.
- zvrba 4y agoEh. What about updated libc.so or libssl.so? If daemons using them do not get restarted, they keep using the old version. If they do get restarted, well, then, it's just as if you rebooted the machine. Somewhat quicker, but in effect it's a reboot.
- oauea 4y ago> but in effect it's a reboot no. restarting some daemons one by one when it's convenient is wildly different from taking down the entire system
- justsomehnguy 4y agoAnd you will never know if the updated libs cause segfaults (at best) or shenanigans (at worst). You can replace the open files on Windows (most oth time, see my other comment here), but the decision to reboot is not a technical one (and back in the days many invested in no reboot upgrades) but to have less headache on a corner cases.
- justsomehnguy 4y agoAnd most of the time you can just rename the problematic file and place another on the same path. Used this trick a lot in my days.