Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10978 Details for
Bug 19745
EBUILD: sys-apps/lvm2-user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/lvm2 init script for lvm2-user
lvm2 (text/plain), 914 bytes, created by
Mike Jones
on 2003-04-21 23:04:22 UTC
(
hide
)
Description:
/etc/init.d/lvm2 init script for lvm2-user
Filename:
MIME Type:
Creator:
Mike Jones
Created:
2003-04-21 23:04:22 UTC
Size:
914 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >depend() { > need modules checkfs >} > >checkconfig() { > if [ ! -x /sbin/vgchange ] > then > eerror "Could not locate LVM2 userspace utilities." > return 1 > fi >} > >start() { > checkconfig || return 1 > modprobe dm-mod &>/dev/null > > if [ ! -f /dev/.devfsd ] > then > major=$(grep "[0-9] misc$" /proc/devices | sed 's/[ ]\+misc//') > minor=$(grep "[0-9] device-mapper$" /proc/misc | sed 's/[ ]\+device-mapper//') > if [ ! -d /dev/mapper ] > then > mkdir -p /dev/mapper &> /dev/null > fi > if [ ! -c /dev/mapper/control ] > then > mknod -m 600 /dev/mapper/control $major $minor >&/dev/null > fi > fi > ebegin "Starting the Logical Volume Manager (LVM2)" > vgchange -a y > eend $? >} > >stop() { > ebegin "Stopping the Logical Volume Manager (LVM2)" > vgchange -a n > 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 19745
:
10976
|
10977
| 10978