Regarding writing to /proc entries

ravi ravi.nanjundappa at
Tue Aug 3 02:46:45 PDT 2004

The README file in /sys/fs/procfs directory says that we can send the
control messages to note or ctl files for any process . But when we
execute the command 

	echo hup > /proc/curproc/note

	echo attach > /proc/2/ctl

the following error message comes on the terminal .

$ echo hup > /proc/curproc/note
/proc/curproc/note: Operation not supported


$ echo attach > /proc/2/ctl
/proc/2/ctl: Operation not supported

What is the reason for this ?

Is it not possible to write the control words or control messages to the
process entries under /proc ?

Please reply to this mail .

N Ravi

More information about the freebsd-fs mailing list