I'm using vxWorks version 5.4.2, my target is Pentium architecture.

This is the problem I've noticed:

-- I build a tar file on my PC.
-- Upload it to my target and do a tarExtract
-- If the size of the file in tar is smaller than the one I have on my
target filesystem,
it only copies over the portion that is in the file, leaving the
difference portion undeleted.

I don't have the source code of tarExtract so I can't fix it, if
anyone has a fix please
let me know, otherwise, be aware of that problem.

My workaround is I'll get the table of contents and delete all of the
files in the tar file then do tarExtract.