688
submitted 1 day ago* (last edited 1 day ago) by renzev@lemmy.world to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] interdimensionalmeme@lemmy.ml 1 points 14 hours ago

A typo in fstab shouldn't wreck the system. Why is that not resilient ? I added an extra mount point to an empty partition but forgot to actually create it in LVM.

During boot, device not found and boot halted, on a computer with no monitor/keyboard

[-] BaumGeist@lemmy.ml 9 points 12 hours ago

It will cause a critical error during boot if the device isn't given the nofail mount option, which is not included in the defaults option, and then fails to mount. For more details, look in the fstab(5) man page, and for even more detail, the mount(8) man page.

Found that out for myself when not having my external harddrive enclosure turned on with a formatted drive in it caused the pc to boot into recovery mode (it was not the primary drive). I had just copy-pasted the options from my root partition, thinking I could take the shortcut instead of reading documentation.

There's probably other ways that a borked fstab can cause a fail to boot, but that's just the one I know of from experience.

[-] interdimensionalmeme@lemmy.ml 1 points 8 hours ago

Cool ! The default should smarter than bork by default.

[-] BCsven@lemmy.ca 4 points 8 hours ago* (last edited 8 hours ago)

Its a 'failsafe' , like if part of the system depends on that drive mounting then if it fails then don't continue. Not the expected default, but probably made sense at some point. Like if brakes are broken don't allow starting truck, type failsafe.

[-] wormer@lemmy.ml 3 points 7 hours ago

Yea like the default is smart? How is it supposed to know if that's critical or not at that point? The alternative is for it to silently fail and wait for something else to break instead of failing gracefully? I feel like I'm growing more and more petty and matching the language of systemd haters but like just think about it for a few minutes????

[-] interdimensionalmeme@lemmy.ml 2 points 2 hours ago

The system failed for no good reason, failing is exactly what it should never ever do. If it had just continued, everything would have been fine.

[-] nickwitha_k@lemmy.sdf.org 1 points 7 hours ago

the default is smart

Looking at the systems that are supported, it makes the greatest sense to have the safest failure mode as default. If fault tolerance is available, that can be handled in the entry but, it makes sense but to assume. Having that capability built into the default adds more complexity and reduces support for systems that are not tolerant of a missing mount.

[-] wormer@lemmy.ml 2 points 7 hours ago

Sorry if it looked otherwise, I was agreeing to BCsven. I agree with you

this post was submitted on 23 Sep 2024
688 points (95.6% liked)

linuxmemes

20705 readers
1074 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS