You're right of course, though wouldn't it be nice if it did? Not worth the
trouble though, I suspect.
> Currently, you cannot do that because the system tries to change the atime
> for /bin/cat, and the shell wants to create a temporary file for the data,
> not to mention swap in portions of /usr/bin/screen or /usr/sbin/telnetd.
> Instant system hang... this needs a statically-linked standalone program
> which calls mlock(MLOCKALL) and then waits a specified number of seconds
> before automatically reenabling things.
Well your static binary can do { mlock, write, sleep, write, exit } to do the
job. It'd be fairly straightforward.
David Howells
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html