Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100872 Details for
Bug 152983
Optionally run checkfs during shutdown
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use checkfs conf.d file
x (text/plain), 1.29 KB, created by
Roy Marples (RETIRED)
on 2006-10-31 03:51:27 UTC
(
hide
)
Description:
use checkfs conf.d file
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2006-10-31 03:51:27 UTC
Size:
1.29 KB
patch
obsolete
>Index: init.d/halt.sh >=================================================================== >--- init.d/halt.sh (revision 2347) >+++ init.d/halt.sh (working copy) >@@ -86,6 +86,20 @@ > do_unmount "umount" "${RC_NO_UMOUNTS}" > eend $? > >+# Conditionally run filesystem checks. Note that /forcefsck skips this and >+# causes the forced checks to run upon boot. This is because doing forced >+# checks then removing /forcefsck is not practical at this point. >+conf=$(add_suffix /etc/conf.d/checkfs) >+if [[ -e ${conf} ]] ; then >+ ( >+ . ${conf} >+ if [[ ${FSCK_SHUTDOWN} == "yes" && ! -f /forcefsck ]]; then >+ . /etc/init.d/checkfs >+ start >+ fi >+ ) >+fi >+ > # Try to remove any dm-crypt mappings > stop_addon dm-crypt > >Index: conf.d/checkfs >=================================================================== >--- conf.d/checkfs (revision 0) >+++ conf.d/checkfs (revision 0) >@@ -0,0 +1,8 @@ >+# FSCK_SHUTDOWN causes checkfs to trigger during shutdown as well as startup. >+# The end result of this is that if any periodic non-root filesystem checks are >+# scheduled, under normal circumstances the actual check will happen during >+# shutdown rather than at next boot. >+# This is useful when periodic filesystem checks are causing undesirable >+# delays at startup, but such delays at shutdown are acceptable. >+ >+FSCK_SHUTDOWN="no"
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 152983
:
100578
|
100579
| 100872 |
100967