Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28842 Details for
Bug 38360
/etc/init.d/checkroot mounts root 2 times
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correct patch for checkroot
checkroot.patch (text/plain), 749 bytes, created by
Aron Griffis (RETIRED)
on 2004-04-07 12:41:33 UTC
(
hide
)
Description:
Correct patch for checkroot
Filename:
MIME Type:
Creator:
Aron Griffis (RETIRED)
Created:
2004-04-07 12:41:33 UTC
Size:
749 bytes
patch
obsolete
>Index: checkroot >=================================================================== >RCS file: /home/cvsroot/gentoo-src/rc-scripts/init.d/checkroot,v >retrieving revision 1.37 >diff -u -b -B -r1.37 checkroot >--- checkroot 26 Nov 2003 19:30:23 -0000 1.37 >+++ checkroot 7 Apr 2004 19:37:32 -0000 >@@ -78,11 +78,15 @@ > # Create /etc/mtab > # > >+ # Clear the existing mtab > > /etc/mtab >+ > # Add the entry for / to mtab > mount -f / >- # Make sure we do not have these in there >- egrep -v '^(rootfs|/dev/root)' /proc/mounts >> /etc/mtab >+ >+ # Don't list root more than once >+ awk '$2 != "/" {print}' >> /etc/mtab >+ > # Now make sure /etc/mtab have additional info (gid, etc) in there > for x in $(awk '{ print $2 }' /proc/mounts | uniq) > do
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 38360
:
25969
|
28842
|
28902