Package: yaird
Version: 0.0.11-3
Severity: wishlist

Hello,

I have a setup with everything but /boot in LVM. Therefor I use an
initrd image. I use software suspend 2 (swsusp2) to hibernate my box.
swsusp2 safes the ram content to the swap partition (also on lvm) and
shuts the computer down. When starting it again it should try to load
the data back from the swap partition into the ram. This can be
initiated by doing:

echo > /proc/software_suspend/do_resume

It's important to do that before the root fs is mouted. Otherwise data
loss can be the consequence.

For yaird it's necessary to execute that command somewhere in the init
script to suport swsusp2. I managed that by adding

if [ -d /proc/software_suspend ]; then
        echo > /proc/software_suspend/do_resume
fi

to the init script just before the root partition gets mouted, but after
LVM is set up.

It would be nice if the initrd created by yaird would contain these
lines by default.


TIA,
Flo

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages yaird depends on:
ii  dash                         0.5.2-7     The Debian Almquist Shell
ii  libc6                        2.3.5-6     GNU C Library: Shared libraries an
ii  libhtml-template-perl        2.6-2       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-1 Generates recursive-descent parser
ii  perl                         5.8.7-5     Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to