RE: Read and write floppy disk
- Posted by sephiroth _ <euman2376 at yahoo.com> Mar 29, 2001
- 423 views
in linux, you can open devices for raw I/O. for example, you can open /dev/fd0 in binary update mode and start writing at the beginning of the disk. you can use all the normal file functions in file.e(but using the position -1 in seek() won't work). you could even open /dev/hda5(or whatever partition your linux swap is on) and see what linux has been up to! :) aku at inbox.as wrote: > How to read and write to floppy disk (or even harddisk) in raw mode? > It means to read and to write every byte of the disk. > (I think a floppy has nearly 2 MB unformatted) > > >