Junk value to the trace options of YAFFS
Hello,
I am using, Linux-2.6.31 in my project.
Project uses YAFFS filesystem.
During initialization (rcS script) filesystem is mounted.
Trace options is set using,
echo =none+error > /proc/yaffs
I see above command sets the trace option to yaffs fs operations.
When I saw in yaffs code, "yaffs_proc_write_trace_options" function is called when trace option is set.
In the function, when I read the command (reading the buf as string), I see some junction values along with "=none+error" because of trace logs are logged in syslogs.
Any idea why it is happening?
best regards,
Lohith Nayak
|