News for hackers. Stuff that matters.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by dijit on Sunday October 02, 2022 @11:06AM (#33056501)
Yes, but even then not all filesystems are journaled.

EFI is FAT, FAT is not journaled. You almost certainly have EFI these days.

Re:“Rust is safe” is not some kind of absolute guarantee of ... by layer8 on Sunday October 02, 2022 @11:17AM (#33056631)
That’s a good point, but EFI isn’t frequently written I believe, so that I would expect that to be a rare circumstance, and even rarer for user data to be affected as a consequence.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by KMnO4 on Sunday October 02, 2022 @11:15AM (#33056613)
EFI is read, but not frequently written.
Re:“Rust is safe” is not some kind of absolute guarantee of ... by dijit on Sunday October 02, 2022 @11:19AM (#33056647)
I'm not sure why that's relevant.

It will be written to on every kernel update and every initramfs update at least, which is what.. once a week on average?

A reply like yours is not so subtly indicating that "it's fine to panic all the time because ultimately you might be fine if you get a panic", which I fundamentally disagree with, other concerns aside.

Also you're suggesting that journaling filesystems are perfect and never lose data, which is also very untrue, in the default case they only protect metadata but there are still circumstances where they can lose data anyway; they're more resilient, not immune.

Re:“Rust is safe” is not some kind of absolute guarantee of ... by wtallis on Sunday October 02, 2022 @11:39AM (#33056860)
> It will be written to on every kernel update and every initramfs update at least, which is what.. once a week on average?

Which distros actually use the EFI System Partition that way? I've usually only seen the ESP used to hold the bootloader itself, with kernels and initramfs and the bootloader config pointing to them stored either in a separate /boot partition or in a /boot directory of the / filesystem.