On Thu, 8 Apr 2004, Szakacsits Szabolcs wrote:
> On Thu, 25 Mar 2004, Anton Altaparmakov wrote:
> > The difficulty is that there is no single bit saying "journal clean" or
> > "journal dirty".
>
> On NTFS 3.1 in the 'flags' field of the restart area, the bit 1 (starting
> from 0) tells apparently if NTFS is supposed to be clean or not. If the
> value is set ('flags' field is 2) then NTFS is "clean", or at least it was
> shutdown properly.
>
> Confirmations? Rebuttals?
Er who says that? It certainly isn't the case for LFS 1.1 (the only one I
know about). I believe XP uses LFS 1.1, too (as do NT4 and Win2k).
The easiest way to find out which version of LFS you are looking at is to
run ntfsdump_logfile /dev/partition | more or ntfsdump_logfile -f
ntfs_image_file | more. You need the more as the log record stuff is a
lot of bogus crap at the moment and it outputs tons of rubbish. But I
have been doing lots of work on the restart pages parts and what I say
there should be correct and the output from ntfsdump_logfile regarding the
restart pages should be correct, too.
> However all comments and guesses related to dirty/clean NTFS I've seen in
> the NTFS doc and in the sources are bogus (at least on NTFS 3.1).
Have you looked at the most recent include/ntfs/logfile.h? That contains
a lot of good info about the restart pages and how dirty/clean can be
distinguished. And that is I believe correct for LFS 1.1.
If you believe they are bogus then please let me know which bits and
why...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|