Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 123194 Details for
Bug 174670
sys-cluster/pvfs2-2.6.3 version bump ebuild provided
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pvfs2-client-init.d
pvfs2-client-init.d (text/plain), 1.60 KB, created by
Justin Bronder (RETIRED)
on 2007-06-27 14:01:12 UTC
(
hide
)
Description:
pvfs2-client-init.d
Filename:
MIME Type:
Creator:
Justin Bronder (RETIRED)
Created:
2007-06-27 14:01:12 UTC
Size:
1.60 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > > >depend() { > need net > need localmount > before pbs_mom > after pvfs2-server >} > >checkconfig() { > if [ ! -x "${PVFS2_CLIENT}" ] || [ ! -x "${PVFS2_CLIENT_CORE}" ]; then > eend 1 "pvfs-2 was not correctly installed." > return 1 > fi > > if [ ! -d "${PVFS2_MOUNTPOINT}" ]; then > ewarn "Creating ${PVFS2_MOUNTPOINT}" > mkdir -p ${PVFS2_MOUNTPOINT} || return 1 > fi > > local piddir=$(dirname ${PVFS2_CLIENT_PIDFILE}) > if [ ! -d "${piddir}" ]; then > ewarn "Creating ${piddir}" > mkdir -p ${piddir} || return 1 > fi > > return 0 >} > > >start() { > ebegin "Starting pvfs2-client" > local rc=0 > > [ -n "$(lsmod | egrep '^pvfs2 ')" ] || modprobe pvfs2 > if [[ $? -ne 0 ]]; then > eend 1 "Failed to load the pvfs2 module" > return 1 > fi > > # -f so start-stop-daemon can snag the pid. > start-stop-daemon --start -q -b -m -p ${PVFS2_CLIENT_PIDFILE} \ > --exec ${PVFS2_CLIENT} -- -f -p ${PVFS2_CLIENT_CORE} ${PVFS2_CLIENT_ARGS} > rc=$? > > if [[ $rc -ne 0 ]]; then > eend ${rc} "Failed to run pvfs2-client" > return ${rc} > fi > > mount -t pvfs2 tcp://${PVFS2_SERVER_HOST}:3334/pvfs2-fs ${PVFS2_MOUNTPOINT} > rc=$? > if [[ $rc -ne 0 ]]; then > eend 1 "Failed to mount the pvfs2 filesystem on /pfs" > return 1 > fi > > eend ${rc} >} > >stop() { > ebegin "Stopping pvfs2-client" > if [ -n "$(mount | awk '{print $3}' | grep ${PVFS2_MOUNTPOINT})" ]; then > umount -f ${PVFS2_MOUNTPOINT} > fi > > start-stop-daemon --stop -p ${PVFS2_CLIENT_PIDFILE} > > modprobe -r pvfs2 > > eend $? > >} >
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 174670
:
116286
|
116287
|
116288
|
116290
|
116371
|
116372
|
116373
|
116374
|
117745
|
117746
|
117747
|
123060
|
123180
|
123191
|
123192
| 123194 |
123195
|
123197
|
132528
|
132530