lkml.org 
[lkml]   [2002]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [swsusp fixes] Re: Linux 2.4.19pre5-ac3
    Hi!

    > > +
    > > +You have two ways to use this code. The first one is if you've compiled in
    > > +sysrq support then you may press Sysrq-D to request suspend. The other way
    > > +is with a patched SysVinit (my patch is against 2.76 and available at my
    > > +home page). You might call 'swsusp' or 'shutdown -z <time>'.
    > > +
    > > +Either way it saves the state of the machine into active swaps and then
    > > +reboots. By the next booting the kernel's resuming function is either triggered
    > > +by swapon -a (which is ought to be in the very early stage of booting) or you
    > > +may explicitly specify the swap partition/file to resume from with ``resume=''
    > > +kernel option. If signature is found it loads and restores saved state. If the
    >
    > Does it have to be an "active swap partition"? What about systems
    > without active swap, but space enough for a partition?

    There you just make it partition and then mkswap/swapon it. Or did I
    misunderstand the question?
    Pavel
    --
    Casualities in World Trade Center: ~3k dead inside the building,
    cryptography in U.S.A. and free speech in Czech Republic.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.020 / U:0.184 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site