Modifying the /proc filesystem file using the vi editor gives an error: Fsync failed
Issue
- When attempting to modify the proc file system (
procfs) file using thevieditor, an error message stating "Fsync failed" is displayed.
# vi /proc/sys/kernel/threads-max
3093136
:wq
"/proc/sys/kernel/threads-max"
"/proc/sys/kernel/threads-max" E667: Fsync failed
Press ENTER or type command to continue
Environment
- Red Hat Enterprise Linux
- Proc file system (
procfs) - vi
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.