Ticket #11349 (closed defect: fixed)
XO-1.75 Q4B12ja (svn 2623) leaves an ext2 filesystem inconsistent after a file delete
| Reported by: | Quozl | Owned by: | Quozl |
|---|---|---|---|
| Priority: | low | Milestone: | Opportunity |
| Component: | ofw - open firmware | Version: | Development firmware |
| Keywords: | Cc: | ||
| Action Needed: | no action | Verified: | no |
| Deployments affected: | Blocked By: | ||
| Blocking: |
Description
After test 0023 glob file copy in the ext2test.fth the filesystem is left in an inconsistent state as reported by e2fsck on build 881:
bash-4.1# e2fsck -f /dev/sda1 e2fsck 1.41.12 (17-May-2010) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Entry 'f.tst' in / (2) has deleted/unused inode 26. Clear<y>?
It is the last file deleted in the script that is affected.
Tested on a 128MB and a 2GB USB flash drive.
The minimum reproducer is an olpc.fth file containing:
\ OLPC to-file u:\f.tst cr del u:\f.tst
Adding a dir u:\ command to the end of the reproducer prevents the symptom. Theory: a cache is flushed.
Entering the commands interactively instead of using \boot\olpc.fth makes no difference to the symptom.
Deleting a pre-existing file does not produce the symptom.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


