Re: [Bug-tar] unmodified files included in incremental tar if link count was changed

2018-07-16 Thread Joerg Schilling
Peter Koch wrote: > Dear Joerg: > > Thank's for the quick response. In the meantime I have tried > star which I had not used before. Wonderful programm but its > decision on which files will be included into an incremental > backup seems to be based on the same algorithm that gtar is > using - i.

Re: [Bug-tar] unmodified files included in incremental tar if link count was changed

2018-07-16 Thread Joerg Schilling
Ralph Corderoy wrote: > Hi Peter, > > > What if I change the kernel and prevent ctime-changes if only st_nlink > > was changed? > > Wouldn't it be easier, and have less unknown impact, to change the > program making the hard links to read-link-write ctime, preserving it? If you did change the ke

[Bug-tar] unmodified files included in incremental tar if link count was changed

2018-07-16 Thread Peter Koch
Dear tar-experts: I have learned that changing the kernel to not modify ctime when just the nlink-value has changed in an inode was a nice idea but has some unwanted side-effects. Also it's too hard for me to implement. Whenever a changed inode is written to disk, its ctime value will be set to c