Hi Guys,
After many years away from working on QNX systems I have the joy of trying
to recover some deleted data from a QNX 4 based logging system that is
designed to only maintain 16 days of history. Each day cron executes a
cleanup script that goes around deleting various files that accumulate
over
time so the system never runs out of disk space.
The system is all working fine except due to human error the data that is
normally printed out and archived each day, was not printed for a few
weeks
and so they now would dearly love to recover any data that I can find. )
So I’ve blown the dust off my old C manuals and started looking at the
problem and am wondering if anyone has any source code fragments that
would
give me a head start writing a custom utility to read the /.bitmap, work
out
which blocks on the disk are free so I can know which blocks to look at as
I
search for extent blocks that have recognizable (by my app) data in them?
Any help would be appreciated.
Cheers
Alex Shepherd