[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] [3/48] Suspend2 for 2.6.12: 301-proc-acpi-sleep-activate-hook.patch
    Nigel Cunningham <> wrote:
    > On Tue, 2005-07-12 at 19:47, Matthew Garrett wrote:
    >> In general, the kernel does very little to prevent users from shooting
    >> themselves in the foot (or even chainsawing off their arms). We can do
    >> these checks in userspace rather than adding more kernel code.
    > Just because the kernel does very little, that doesn't mean it should.
    > Particularly for something like suspend to disk, where it's not just a
    > matter of an oops but of potential hard disk corruption, this is
    > important.

    The kernel isn't there to protect people. It's there to provide

    > If I could do it in userspace, I would. The trouble is, the userspace
    > app may not be there to tell the user what is happening, and this might
    > be part of the problem.

    You're suggesting that users who are technically competent to compile
    their own kernel and write their own initrd scripts are unable to deal
    with checking whether or not a filesystem is mounted? You don't need an
    application to do that, it's a simple matter of shell scripting. And, in
    almost every case, if something is a simple matter of shell scripting it
    shouldn't be in the kernel.
    Matthew Garrett |
    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-07-12 12:28    [W:0.022 / U:34.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site