Bug 165864
| Summary: | resume won't work with label'd swap | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeremy Katz <katzj> | ||||
| Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | gajownik, kms, kzak, mitr, oliva | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-02-03 21:52:30 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 150222 | ||||||
| Attachments: |
|
||||||
|
Description
Jeremy Katz
2005-08-12 21:42:52 UTC
Created attachment 117923 [details]
fix for LABEL= matching cut&pasto in swsuspdev
Probably not a fix for the bug, but this at least silences the incorrect
attempt to readlink a LABEL= swap device.
Note that for information about filesystems you can use the /sbin/blkid command (the mount and swapon use same method for work with LABELs -- so it's well tested I hope reliable way). # /sbin/blkid -l -t LABEL=swap | cut -d : -f 1 /dev/hda6 --> returns a first device where LABEL="swap" (same way you can use for UUID) /sbin/blkid -l -t TYPE=swsuspend | cut -d : -f 1 --> returns a first device where filesystem type is "swsuspend" (S1SUSPEND or S2SUSPEND header). It might help you improve your initrd scripts. |