Algo without the locks etc: Set valid data of terabytesizefile.bin to end at the split position, then create new file "secondhalf.bin" starting at the split position and ending at the old EOF of terabytesizefile.bin.

And of course this should be possible to do from any limited user application trivially, since it's not exposing any old data on the disk.

Remove this comment

Remove this thread

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums, or
Contact Us and let us know.