Defrag utility QNX 2.15

Is there a defrag utility in QNX 2.15 ?

No. If you need to defrag 2.15, you must copy all the files to another drive, initialize the original drive and copy back. You also have to worry about making the original drive bootable if you do this.

You could copy off most files, delete and copy back. If you need more details, ask again.

Ok, thanks. I don’t think I’ll try that.

If your hard drive has lots of space, it is possible to copy a file and in doing so defrag that file.

cp file file.defragged

mv file.defragged file

This is because the file system will try to copy a file to a linearly available location, but it depends on that linearly space being available.