vak: (Знайка)
[personal profile] vak
Запись из файла:
$ floppy write msdos622.img 
Writing 80 tracks, 2 side(s)
Bit Rate: 500 kbps
Rotation Speed: 300 RPM

Insert TARGET diskette in drive
and press Enter when ready...

Writing track 79, side 1...
Write complete.

Image from file 'msdos622.img' written to diskette.
Чтение в файл:
$ floppy read
Insert SOURCE diskette in drive
and press Enter when ready...

Bit Rate: 500 kbps
Rotation Speed: 300 RPM
Reading track 81, side 1...
Read complete.

Image from diskette saved to file 'image.hfe'.
Стирание:
$ floppy erase
Insert TARGET diskette in drive
and press Enter when ready...

Erasing track 81, side 1...
Erase complete.
Ещё будет "floppy format", создание файловой системы с выбором из нескольких форматов. 

Исходники здесь: github.com/sergev/floppy

Date: 2026-01-16 14:49 (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi
Как это, track 81? Разве столько есть дорожек?

Date: 2026-01-16 15:08 (UTC)
dmarck: (Default)
From: [personal profile] dmarck
в зависимости от модели дисковода попадалось аж до 85. здесь -- 82 (нумеруются-то с нуля)

Date: 2026-01-16 16:58 (UTC)
sab123: (Default)
From: [personal profile] sab123
Постирали флопик и повесили сушиться!

Date: 2026-01-16 18:52 (UTC)
sab123: (Default)
From: [personal profile] sab123
Да, как-то я не задумывался, что форматирование наверное не просто переписывает метаданные файловой системы, но и пишет целиком дорожки с метками начала секторов на флопике.