On windows, it will only write a full entry, so it stops just shy of the disk being full.
On linux, it will do a partial entry ending when the disk is full.