From owner-freebsd-questions Thu Oct 14 20:55:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from node11a94.a2000.nl (node11a94.a2000.nl [24.132.26.148]) by hub.freebsd.org (Postfix) with SMTP id A655D14F41 for ; Thu, 14 Oct 1999 20:55:50 -0700 (PDT) (envelope-from ronald@node11a94.a2000.nl) Received: (qmail 82737 invoked from network); 15 Oct 1999 03:55:49 -0000 Received: from dlanor.evertsen.nl (10.0.0.3) by node11a94.a2000.nl with SMTP; 15 Oct 1999 03:55:49 -0000 Date: Fri, 15 Oct 1999 05:55:47 +0200 (CEST) From: Ronald 'Ko' Klop To: freebsd-questions@freebsd.org Subject: ro floppy mounted rw crashes system Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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