Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2581 Details for
Bug 5570
checkroot and checkfs ignore forced or skipped fsck
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff for checkfs
checkfs.diff (text/plain), 984 bytes, created by
Chris PeBenito (RETIRED)
on 2002-07-25 11:28:57 UTC
(
hide
)
Description:
diff for checkfs
Filename:
MIME Type:
Creator:
Chris PeBenito (RETIRED)
Created:
2002-07-25 11:28:57 UTC
Size:
984 bytes
patch
obsolete
>--- checkfs.orig Tue Jul 16 17:46:57 2002 >+++ checkfs Thu Jul 25 11:05:03 2002 >@@ -20,19 +20,31 @@ > eend $? "Failed to setup the LVM" > fi > >- ebegin "Checking all filesystems" >- fsck -R -A -a >- if [ "$?" -eq 0 ] >+ if [ -f /fastboot ] > then >- eend 0 >- elif [ "$?" -eq 1 ] >- then >- ewend 1 "Filesystem errors corrected." >- #everything should be ok, so return a pass >- return 0 >+ rm -f /fastboot > else >- eend 2 "Fsck could not correct all errors, manual repair needed" >- /sbin/sulogin ${CONSOLE} >+ ebegin "Checking all filesystems" >+ if [ -f /forcefsck ] >+ then >+ ewarn "A full fsck has been forced" >+ fsck -C -R -A -a -f >+ rm /forcefsck >+ else >+ fsck -R -A -a >+ fi >+ if [ "$?" -eq 0 ] >+ then >+ eend 0 >+ elif [ "$?" -eq 1 ] >+ then >+ ewend 1 "Filesystem errors corrected." >+ #everything should be ok, so return a pass >+ return 0 >+ else >+ eend 2 "Fsck could not correct all errors, manual repair needed" >+ /sbin/sulogin ${CONSOLE} >+ fi > fi > } >
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 5570
:
2580
| 2581 |
2582