[openbeos] BFS filesystem check (minor) problem
- From: skyos@xxxxxxxxx
- To: openbeos@xxxxxxxxxxxxx
- Date: Wed, 25 Oct 2006 14:50:28 +0200 (CEST)
Hi Axel!
There may be a problem in the BFS CheckInode function when checking symbolic
links.
When checking an inode, BlockAllocator::CheckInode always calls
BlockAllocator::CheckBlockRun to make sure the allocation blocks are valid.
This is a problem when checking symbolic links because the inode-area which
usually holds the direct blockruns has - for symbols links - the link name
stored there. (if it is a short link name).
This means, depending on the linked name and the amount of allocation
groups/blocks, CheckBlockRun may fail or succeed. (Reporting errors on valid
nodes).
I would suggest not checking blockruns for symbolic links at all.
Robert!
- Follow-Ups:
- [openbeos] Re: BFS filesystem check (minor) problem
- From: Axel Dörfler
Other related posts:
- » [openbeos] BFS filesystem check (minor) problem
- » [openbeos] Re: BFS filesystem check (minor) problem
- [openbeos] Re: BFS filesystem check (minor) problem
- From: Axel Dörfler