DOS Debug for linux

Hi guys. I'm in desperate need of a program that can allow me to write files to different sectors of a disk (floppy), in the same way the DOS Debug program can (with a command such as -w 100 0 0 1 to write the bootsector of the disk).

Does anyone know any links or names of programs that could do this for linux? All I need to do is to be able to write files to any sector on a disk.

~ Paul

Doesn't linux have "dd"? Set the bs to the sector size. Use "skip=n" or "seek=n" to start at sector n. Use count=1 to write one sector.

you need to specify what file to write with the option if=FILE

otherwise dd will read from stdin.