Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 05:55:47 +0200 (CEST)
From:      Ronald 'Ko' Klop <ronald@node11a94.a2000.nl>
To:        freebsd-questions@freebsd.org
Subject:   ro floppy mounted rw crashes system
Message-ID:  <Pine.BSF.4.05.9910150549140.669-100000@dlanor.evertsen.nl>

next in thread | raw e-mail | index | archive | help
Hello,

If I mount a ro dos-floppy, why doesn't mount_msdos complain
about it, if I try to mount it rw?

If I try to write to it my kernel hangs and panics.
Why doesn't mount figure this out, before the kernel does?
Is there a way to test this (the being ro of the floppy) myself?
So I can make a wrapper around mount, which just checks this.
Maybe a C/C++-function or something else?

I found info about crashes when you remove the floppy in the archives,
but not about this. And I couldn't find a solution for it.

Greetings,

Ronald.

PS: Even minix does this better. :-)
-- 
Ronald Klop
http://node11a94.a2000.nl/~ronald/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910150549140.669-100000>