[lkml]   [2004]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: uspend to Disk - Kernel 2.6.4 vs. r50p

    > >A: Do reboot() syscall with right parameters. Warning: glibc gets in
    > >its way, so check with strace:
    > >
    > >reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, 0xd000fce2)
    > >
    > >Ouch, and when you code that trivial program, send me source, I lost
    > >mine.
    > >
    > >
    > Wouldn't it be better to just add place in proc that triggers it ?

    I'm not going to add *another* place in /proc. Plus, shutdown -z on
    modern distributions should work too.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:02    [W:0.019 / U:2.296 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site