Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2418 Details for
Bug 5310
Refactored LVM & RAID initialization rc-scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
checkfs without lvm stuff
checkfs (text/plain), 1.03 KB, created by
cDlm
on 2002-07-20 11:34:43 UTC
(
hide
)
Description:
checkfs without lvm stuff
Filename:
MIME Type:
Creator:
cDlm
Created:
2002-07-20 11:34:43 UTC
Size:
1.03 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/checkfs,v 1.8 2002/04/11 20:00:31 azarah Exp $ > ># 2002/07/19 dpollet: extracted LVM stuff to a separate service > >depend() { > need checkroot > use lvm > use raid >} > >start() { ># # LVM support for /usr, /home, /opt .... ># # This should be done *before* checking local ># # volumes, or they never get checked. ># if [ -x /sbin/vgchange -a -f /etc/lvmtab ] ># then ># ebegin "Setting up the Logical Volume Manager" ># #still echo stderr for debugging ># /sbin/vgscan && /sbin/vgchange -a y >/dev/null ># eend $? "Failed to setup the LVM" ># fi > > ebegin "Checking all filesystems" > fsck -R -A -a > 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 >} > > ># vim:ts=4
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 Raw
Actions:
View
Attachments on
bug 5310
:
2417
| 2418 |
2419