Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 415396 Details for
Bug 564008
sys-apps/openrc: fsck do not abort processing if fsck_do_not_abort is set to YES
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
do not abort if the fsck_do_not_abort is set to YES
0001-do-not-abort-if-the-fsck_do_not_abort-is-set-to-YES.patch (text/plain), 1.13 KB, created by
Joe M
on 2015-10-24 22:56:52 UTC
(
hide
)
Description:
do not abort if the fsck_do_not_abort is set to YES
Filename:
MIME Type:
Creator:
Joe M
Created:
2015-10-24 22:56:52 UTC
Size:
1.13 KB
patch
obsolete
>From 6f45d5c7eea5899da0c81fd5676022f42982b31e Mon Sep 17 00:00:00 2001 >From: joe9 <joe9mail@gmail.com> >Date: Sat, 24 Oct 2015 18:55:59 -0400 >Subject: [PATCH] do not abort if the fsck_do_not_abort is set to YES > >--- > conf.d/fsck | 5 +++++ > init.d/fsck.in | 8 ++++++-- > 2 files changed, 11 insertions(+), 2 deletions(-) > >diff --git a/conf.d/fsck b/conf.d/fsck >index 16aa575..f48388d 100644 >--- a/conf.d/fsck >+++ b/conf.d/fsck >@@ -32,3 +32,8 @@ fsck_on_battery="YES" > # This is useful when periodic filesystem checks are causing undesirable > # delays at startup, but such delays at shutdown are acceptable. > fsck_shutdown="NO" >+ >+# fsck_do_not_abort causes fsck to not abort if there are any errors on fsck >+# This is useful when periodic filesystem checks are causing undesirable >+# aborts at startup. >+fsck_do_not_abort="NO" >diff --git a/init.d/fsck.in b/init.d/fsck.in >index 79e74e5..d421af6 100644 >--- a/init.d/fsck.in >+++ b/init.d/fsck.in >@@ -13,8 +13,12 @@ depend() > } > > _abort() { >- rc-abort >- return 1 >+ if yesno $fsck_do_not_abort; then >+ return 1 >+ else >+ rc-abort >+ return 1 >+ fi > } > > # We should only reboot when first booting >-- >2.4.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 564008
:
415394
| 415396