Re: write protect floppy forever!?
Quoting Kenneth Scharf (scharkalvin@yahoo.com):
> I wanted to copy a floppy (as an image). So I
> inserted a floppy in /dev/fd0 and used dd if=/dev/fd0
> of=./temp
> then pop'ed the source diskette out and replaced it
> with a blank and used dd if=./temp of=/dev/fd0
> (while root of course :->)
>
> This works fine, but if in the first move the floppy
> was write protected the second command fails with
> "write only file system". I couldn't again write to
> /dev/fd0 without rebooting. Loging out as root and
> loging in again as root won't help. There must be a
> way to tell /dev/fd0 to read the damn write protect
> switch again!!!!
I've certainly got (I know not how) into a situation where the kernel
was convinced all floppies were write-protected even when they weren't.
I now have the floppy driver compiled as a module, but am still waiting
for this bug to strike again.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: