Hi Joe,
> aops.c, line 250-257 (from cvs i just checked out)
Argh! The cvs repository is obsolete. The latest code is kept
in a BitKeeper repository. We should have made this a bit clearer.
http://linux-ntfs.bkbits.net:8080/ntfs-tng-2.5
Fortunately the piece of code you're referring to exists in both
versions. aops.c, line 388 (ntfs_readpage).
> Not that this is a likely occurence or even legal, but to make sure I'm
> sane.....
> We're making the assumption here that a resident attribute cannot be of
> length > PAGE_CACHE_SIZE, correct? Because it seems to me that this code
> does not take into account any offsets etc, and just returns the beginning
> of the attribute no matter what... am I correct here?
$Boot tells us how big the MFT records are, implying the value could
vary, but we've only ever seen 1024 byte records. For now the
attributes can't be even close to a page size.
Cheers,
FlatCap (Rich)
nt...@fl...
WWW: http://linux-ntfs.sf.net
IRC: #ntfs on irc.openprojects.net
|