I put a write-protected diskette into fd0
cat /dev/zero > /dev/fd0: readonly filesystem
then removed dikette, switched the plastic nibble
reinserted diskette
cat /dev/zero > /dev/fd0 : readonly filesystem
removed the diskette
cat /dev/zero: a bunch of garbage, then kernel spasms about sectors not found and
commands not performed
reinserted the diskette
cat /dev/zero > /dev/fd0: readonly filesystem
rebooted the machine
cat /dev/zero > /dev/fd0: run OK.
morale: if you are not able to write on a write-permitted diskette, reboot the kernel
-- Karel Kulhavy http://atrey.karlin.mff.cuni.cz/~clock - 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/
This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:21 EST