public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* diskette change problems
@ 2001-03-29 10:38 clock
  2001-03-29 15:06 ` Lech Szychowski
  0 siblings, 1 reply; 2+ messages in thread
From: clock @ 2001-03-29 10:38 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: diskette change problems
  2001-03-29 10:38 diskette change problems clock
@ 2001-03-29 15:06 ` Lech Szychowski
  0 siblings, 0 replies; 2+ messages in thread
From: Lech Szychowski @ 2001-03-29 15:06 UTC (permalink / raw)
  To: clock; +Cc: linux-kernel

> 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

Are you sure your FDD correctly recognizes media changes? Is there
anything like "kernel: VFS: Disk change detected on device fd(2,0)"
noted in your logfiles?

-- 
	Leszek.

-- lech7@pse.pl 2:480/33.7          -- REAL programmers use INTEGERS --
-- speaking just for myself...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-29 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29 10:38 diskette change problems clock
2001-03-29 15:06 ` Lech Szychowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox