Bug 617407 - resume-uswsusp.sh: /usr/sbin/resume expects -r for device name
Summary: resume-uswsusp.sh: /usr/sbin/resume expects -r for device name
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-22 23:32 UTC by Bojan Smojver
Modified: 2010-07-23 03:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-23 03:24:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bojan Smojver 2010-07-22 23:32:02 UTC
Description of problem:
Currently, we have: /usr/sbin/resume $a_splash "$resume". Documentation/source of resume (from suspend-0.8) says that -r option should be used for resume device:

Usage: resume [options]
  -h, --help				this text
  -V, --version				version information
  -f, --config <config>			alternative configuration file.
  -r, --resume_device <resume_device>	device that contains swap area
  -o, --resume_offset <resume_offset>	offset of swap file in resume device.
  -P, --parameter <parameter>		override config file parameter.

Version-Release number of selected component (if applicable):
005-3.fc13

How reproducible:
Always.

Steps to Reproduce:
1. Inspect /usr/share/dracut/modules.d/95uswsusp/resume-uswsusp.sh
  
Actual results:
-r not used.

Expected results:
-r should be used, according to resume help page.

Additional info:

Comment 1 Bojan Smojver 2010-07-23 03:24:09 UTC
Ah, never mind. It gets picked up anyway.


Note You need to log in before you can comment on or make changes to this bug.