Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: FSVS 1.0.1 released

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

Re: FSVS 1.0.1 released

Author pmarek
Full name P.Marek
Date 2005-10-05 03:23:20 PDT
Message I just found a problem in the 1.0.1 release if you happen to have
hardlinks in your filesystem.
Everything works fine, except that fsvs stops writing the .waa-dir file
with a message like
   "dir___f_sort_by_inode (directory[i-1], directory[i] ) >=0"

That's because in the DEBUG compilations (which are the default) there's a
faulty check for correctly sorted inodes, which basically tries to force
  inode1 < inode2 < inode3 < inode4 ...

This assumption breaks with hardlinks, where inodeX == inodeX+1.

So just change the >=0 in the given line (see file and linenumber in the
message) to a >0, and you'll be fine.

If you did a commit when it crashed, you can just do a
  fsvs ci -B
which re-creates and writes the list of files into the waa-area.




« Previous message in topic | 2 of 2 | Next message in topic »


Show all messages in topic

FSVS 1.0.1 released pmarek P.Marek 2005-10-04 23:55:40 PDT
     Re: FSVS 1.0.1 released pmarek P.Marek 2005-10-05 03:23:20 PDT
Messages per page: