Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92217 Details for
Bug 141052
sys-power/hibernate-script-1.93-r3 - hibernate-cleanup do mkswap not labeling partition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hibernate-cleanup-swaplabel.patch for udev systems
hibernate-cleanup-swaplabel.patch (text/plain), 507 bytes, created by
Pavel Ruzicka
on 2006-07-19 09:20:07 UTC
(
hide
)
Description:
hibernate-cleanup-swaplabel.patch for udev systems
Filename:
MIME Type:
Creator:
Pavel Ruzicka
Created:
2006-07-19 09:20:07 UTC
Size:
507 bytes
patch
obsolete
>--- /etc/init.d/hibernate-cleanup.orig 2006-07-19 01:51:20.000000000 +0200 >+++ /etc/init.d/hibernate-cleanup 2006-07-19 18:25:02.000000000 +0200 >@@ -29,8 +29,9 @@ > local where wason > where=$1 > wason= >+ mkswap_label="`vol_id $where | awk -F = '$1 ~ /^ID_FS_LABEL$/ && $2 !~ /^$/ {print "-L", $2}'`" > swapoff $where 2>/dev/null && wason=yes >- mkswap $where > /dev/null || echo -n " (failed: $?)" >+ mkswap $mkswap_label $where > /dev/null || echo -n " (failed: $?)" > [ -n "$wason" ] && swapon $where > } >
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 141052
: 92217