0
\$\begingroup\$

In my embedded Linux system, I made a hardware switch to pull down the reset pin of the SoC(TI DM365). When the system is running, I can push the button to reboot the system. I want to know whether this behavior is safe to my file system or it will cause a corruption. I use Linux version 2.6.32 + jffs2 in my system. If yes, can someone explain why the corruption happens? Very appreciated!

Is pulling down the reset pin as risky as cycling the power of the system which may causes the FS corrupts?

\$\endgroup\$
0

1 Answer 1

1
\$\begingroup\$

In general, no. But that depends on the filesystem, and the the same rule apply as for a non-embedded system.

  • read only fs will be ok
  • journaling fs will at least remain internally consistent (to my understanding), but it's not clear if that is what you are actually asking.
\$\endgroup\$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.