Skip to contentSkip to conversation

about bdflush

DISCUSSION Michael Zhu 3 participants 3 messages Jun 10, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Michael Zhu

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

Signature · 1 line
"NT is to UNIX what a doughnut is to a particle accelerator."
#2 lore raw
In reply to Michael Zhu
Quoted 9 lines · Michael Zhu

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?

Quoted 3 lines

Thanks in advance.

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

Signature · 4 lines
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]>