24.11.2014 11:14, Michael Tokarev wrote: > 24.11.2014 00:04, pe...@easthope.ca wrote: [] >> No problem with an image file. The problem is with the >> real diskette, /dev/fd0. [..]
One more thing I forgot to mention. For qemu, both an image file and a real floppy drive are exactly the same thing, thanks to unix way of accessing devices, where everything is a file which can be read from or written to exactly the same way. Qemu just reads whatever portions of data needed - first 512 bytes to read the "boot sector" and next whatever bytes the said boot sector will request. The set of operations against an image file or a real floppy is exactly the same, only the difference is the way how to determine the size of image or floppy - but the result should be the same anyway. So, if, given an image of a floppy diskette and a real diskette from which that image file has been made -- if, in this situation, image file works but real diskette doesn't, it may mean only one -- a bug in linux kernel floppy driver which handles reads differently on floppy diskette than on a regular file. It should be possible to use strace to see what is different when you use image file and a real /dev/fd0, how access to that file and floppy differs, and from there it might be possible to understand what's going on. But before, still, it is important to understand what we are talking about -- what exactly does not work. Thanks, /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org