Re: floppy always read-only in 2.5.12+

Mikael Pettersson (mikpe@csd.uu.se)
Tue, 21 May 2002 13:47:04 +0200


Rene Blokland writes:
> Hi, my desktop has a buildin floppy not an ide but and oldfasion one.
> The mb is an ASUS p5a with an AMD k6 processor
> When i try to do a dd to /dev/fd0 as root, it compaining about a Read-Only
> filesystem.
> Also lilo has this problem. is it a bug or did I miss something?
> Thanks for your answer.

This has been discussed here on LKML before. The preliminary patch at
<http://www.csd.uu.se/~mikpe/linux/patches/2.5/patch-fix-floppy-2.5.16>
fixes the problem for me, but it may not be the "real" fix.

If you intend to mount the floppy as a file system you may also have
to patch fs/partitions/check.c:check_partition() similarly to how
fs/block_dev.c was patched. I haven't tested that bit yet.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/