Login
You're viewing the dmv.community public feed.
  • Oct 16, 2026, 12:54 AM

    reposting from #infraX when the instance was down

    <@dmi> did you know: BSD `mount` has `-f` for `force`
    <@dmi> GNU `mount` has `-f` for `fake`
    
    💬 2🔄 0⭐ 0

Replies

  • Oct 16, 2026, 1:01 AM

    did I waste a bunch of time thinking that my mount -o remount,ro / went through? yes, why do you ask

    aside: it’s so stupid how many different ways linux has to mount something read-only (per mount, per block, with dmsetup…), but when the user requests it, suddenly it’s literally impossible because programs have open fds, and the kernel is very shy?

    genuinely, out of all of the options that I found mentioned online, the only one that did anything was fsfreeze. fsfreeze is also a piece of garbage which is likely to hang your entire system, because all write operations block forever instead of being added to an in-memory COW or getting dropped. literally free “fuck up your system immediately” binary

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0