[Bug 283457] [vfs] add option to panic when mounting of root filesystem fails
Date: Sat, 21 Dec 2024 03:10:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283457
Bug ID: 283457
Summary: [vfs] add option to panic when mounting of root
filesystem fails
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Keywords: feature
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: bugs-freebsd-org916@ketas.si.pri.ee
Created attachment 256000
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256000&action=edit
sys/kern/vfs_mountroot.c debug.rootfs_mount_fail_dontask
this adds useful option that allows workaround, when developing or running on
embedded or other systems, that might have problems getting device that the
root filesystem resides on, up in first power on
resulting panic and reboot, instead of sitting on mountroot prompt forever,
could get system up and running in multiple tries
i'm not aware of any of such function added in last decade, from which time
period i have this patch sitting around
i don't have any other good names for variable, it's subcategory, nor how to,
if required, have better ideas on how to implement it in better ways
unsure if it's helpful in production or development but it was helpful for me
--
You are receiving this mail because:
You are the assignee for the bug.