Is it true that removing the power cord without doing halt
on a normal read-write root filesystem could cause filesystem corruption?
For my embedded project, it's impossible to shutdown with a clean halt
, simply because there is no keyboard, no SSH, nothing.
For now, I solved the problem by setting the root filesystem read-only by default, but this can be annoying to have to do mount -o remount,rw /
each time you boot and want to modify something.
Question: Is it possible to have both read-write filesystem and no problem when halting the Pi by removing the power cord?
halt
. – Phil B. Jun 02 '15 at 11:16halt
. - The more C the better. – JimmyB Jun 02 '15 at 11:25sync
, which shouldn't take more than a few seconds. There's also the various init services, which you should investigate to check what problems might occur because they haven't been stopped properly. – goldilocks Jun 02 '15 at 14:13I haven't found one on ebay, in the case you would know a link
– Basj Jun 02 '15 at 23:49