Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116830 Details for
Bug 174835
sys-power/hibernate-script: change from `rmmod` to `modprobe -r`
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
deps
deps (text/plain), 1005 bytes, created by
Alon Bar-Lev (RETIRED)
on 2007-04-20 17:26:46 UTC
(
hide
)
Description:
deps
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2007-04-20 17:26:46 UTC
Size:
1005 bytes
patch
obsolete
>cat /proc/modules | awk -v "module=$1" ' >function find_related_modules(mod, i, a) { > modules[mod] = deps[mod] > split(deps[mod], a, ",") > for (i in a) { > if (a[i] == "") continue > if (!modules[a[i]]) { > modules[a[i]] = deps[a[i]] > find_related_modules(a[i]) > } > } >} > >function top_sort(modules, i, j) { > changed = 1 > while (changed) { > changed = 0 > for(i in modules) { > if (modules[i] == "") { > print i > delete modules[i] > for (j in modules) { > sub("^"i",", "", modules[j]) > sub(","i",", ",", modules[j]) > } > changed = 1 > } > } > } >} > >BEGIN { > have_module = 0 >} > >{ > if ($4 != "-") deps[$1] = $4 > if ($1 == module) have_module = 1 >} > >END { > if (have_module == 1) { > find_related_modules(module) # puts results into "modules" array > top_sort(modules) > } >} > '
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 174835
:
116580
| 116830