Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75072 Details for
Bug 116016
forcefsck not working in case of reiserfs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds support for filesystem-dependant forcefsck-options
rc-scripts-1.6.13.forcefsck_reiserfs.patch (text/plain), 1.12 KB, created by
plasmagunman
on 2005-12-19 02:30:12 UTC
(
hide
)
Description:
adds support for filesystem-dependant forcefsck-options
Filename:
MIME Type:
Creator:
plasmagunman
Created:
2005-12-19 02:30:12 UTC
Size:
1.12 KB
patch
obsolete
>diff -Naur rc-scripts-1.6.13.orig/init.d/checkfs rc-scripts-1.6.13/init.d/checkfs >--- rc-scripts-1.6.13.orig/init.d/checkfs 2005-06-20 23:32:30.000000000 +0200 >+++ rc-scripts-1.6.13/init.d/checkfs 2005-12-19 00:40:23.000000000 +0100 >@@ -22,7 +22,8 @@ > ebegin "Checking all filesystems" > if [[ -f /forcefsck ]] ; then > ewarn "A full fsck has been forced" >- fsck -C -R -A -a -f >+ fsck -C -R -A -a -f -t !reiserfs >+ fsck -R -A -y -t reiserfs > retval=$? > rm -f /forcefsck > else >diff -Naur rc-scripts-1.6.13.orig/init.d/checkroot rc-scripts-1.6.13/init.d/checkroot >--- rc-scripts-1.6.13.orig/init.d/checkroot 2005-07-11 16:30:19.000000000 +0200 >+++ rc-scripts-1.6.13/init.d/checkroot 2005-12-19 00:35:17.000000000 +0100 >@@ -18,7 +18,12 @@ > > if [[ -f /forcefsck ]] || get_bootparam "forcefsck" ; then > ebegin "Checking root filesystem (full fsck forced)" >- fsck -C -a -f / >+ fs_type=$(mount -f -n -v / | awk '{ print $5 }') >+ if [ $fs_type == "reiserfs" ] ; then >+ fsck -y / >+ else >+ fsck -C -a -f / >+ fi > # /forcefsck isn't deleted because checkfs needs it. > # it'll be deleted in that script. > retval=$?
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 116016
: 75072 |
117959
|
117961