This does not appear to have been a problem for anyone, but if it
becomes a problem for someone in the future, this is what I believe is
happening. I think that jfs mounts the root file system as read only in
the event that it detects the file system as bad. I'm not sure what the
normal behavior for a rootfs with jfs is, because there is no entry in
/etc/fstab for "/" on my board. My proposed solution is to attempt to
touch a file in /etc/rc.local, and if there is a failure (e.g. "touch:
cannot touch 'testfile': Read-only file system"), then reboot forcing
fsck (i.e. "shutdown -rF now").
Don
On 8/29/2011 5:23 PM, Don Tucker wrote:
I've noticed that sometimes my TS-7260, booting to an SD card with a
Debian file system, will sometimes return errors during file writes,
reporting that the file system is read-only. I think this might
happen if the the system hasn't been properly shutdown, but I haven't
been able to consistently reproduce the behavior. Can anyone explain
a possible reason for why I'm seeing this?
Thanks in advance,
Don
smime.p7s
Description: S/MIME Cryptographic Signature
|