2003-06-10 15:41:57

by Michael Zhu

[permalink] [raw]
Subject: about bdflush

Hi, guys, I have a small question about
/proc/sys/vm/bdflush . I am working on a SMP machine.
The kernel version is 2.4.18. I want to modify the
content of /proc/sys/vm/bdflush. But once I modify the
content, it will go back to the default value after I
reboot the OS. Is there a way by which I can
permanently change the content of this file? The OS
keeps the default value in somewhere?

Thanks in advance.



______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca


2003-06-10 15:53:49

by Florin Iucha

[permalink] [raw]
Subject: Re: about bdflush

On Tue, Jun 10, 2003 at 11:55:32AM -0400, Michael Zhu wrote:
> Hi, guys, I have a small question about
> /proc/sys/vm/bdflush . I am working on a SMP machine.
> The kernel version is 2.4.18. I want to modify the
> content of /proc/sys/vm/bdflush. But once I modify the
> content, it will go back to the default value after I
> reboot the OS. Is there a way by which I can
> permanently change the content of this file? The OS
> keeps the default value in somewhere?

Set the value in an init script.

florin

--

"NT is to UNIX what a doughnut is to a particle accelerator."


Attachments:
(No filename) (577.00 B)
(No filename) (189.00 B)
Download all attachments

2003-06-10 15:59:31

by Samuel Flory

[permalink] [raw]
Subject: Re: about bdflush

Michael Zhu wrote:

>Hi, guys, I have a small question about
>/proc/sys/vm/bdflush . I am working on a SMP machine.
>The kernel version is 2.4.18. I want to modify the
>content of /proc/sys/vm/bdflush. But once I modify the
>content, it will go back to the default value after I
>reboot the OS. Is there a way by which I can
>permanently change the content of this file? The OS
>keeps the default value in somewhere?
>
>Thanks in advance.
>
>

Either change the default in the source and recompile your kernel, or
set it at boot in /etc/rc.local.

--
There is no such thing as obsolete hardware.
Merely hardware that other people don't want.
(The Second Rule of Hardware Acquisition)
Sam Flory <[email protected]>