Messages in this thread Patch in this message | | | Date | Sat, 15 Nov 1997 00:17:47 +0100 | From | Harald Koenig <> | Subject | Re: 2.0.32 items |
| |
what about this one-liner for 2.0.32 ?
------------------------------------------------------------------------------- --- linux/kernel/ksyms.c~ Wed Nov 12 14:19:06 1997 +++ linux/kernel/ksyms.c Wed Nov 12 14:22:25 1997 @@ -364,6 +364,8 @@ X(proc_dir_inode_operations), #endif + X(show_buffers), + /******************************************************** * Do not add anything below this line, * as the stacked modules depend on this! ------------------------------------------------------------------------------- this would allow this small pseudo-module being used to trigger the show_buffers() output under program control (without needing a user pressing Shift-ScrolLock or similar...).
------------------------------------------------------------------------------- #include <linux/module.h> #include <linux/errno.h> int init_module() { show_buffers(); return -EIO; } void cleanup_module(void) { } ------------------------------------------------------------------------------- Harald -- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
| |