MS-DOS was “mostly” compatible across different machines but there were non-PC MS-DOS machines with different disk controllers and media recording formats, giving them better capacity or performance. Only machines that followed the IBM PC recording formats would be media-interchangeable.

Since the PC used off-the-shelf components, it was tempting to be compatible, but some cursed machines tried to be different.

I’m not sure how compatible are floppies from the Victor 9000 or Epson QX-10, but I know the Sanyo 550 (?) and the Mindset, which were not quite PC-compatibles could interchange media with a PC.