DragonFly kernel List (threaded) for 2008-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: How much are filesystem images trusted?
:Definitely. I was just making sure my understanding of the recovery
:code was correct.
:
:The disk was not "organic"-ly constructed.
:
:...
:I have a patch up at:
:http://leaf.dragonflybsd.org/~dion/hammer-mount-badundo.patch
:
:It consists of two small changes:
: - Check that the tail_size is reported at least the size of a tail
:fifo structure (instead of at least 0) -- this will cause an EIO
:instead of a loop or panic.
: - If an error occured in hammer_recover, an io lock leak caused a
:panic. I now skip the (last) flush if an error occured during mount.
:This seems safe -- doesn't matter too much, you're screwed at this
:point.
:
:-- Dion
Another option is to allow the mount (assuming the root inode can
still be found), but force it into locked read-only mode.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]