From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 05:00:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76A3537B401 for ; Mon, 30 Jun 2003 05:00:52 -0700 (PDT) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 0A5AE43FE1 for ; Mon, 30 Jun 2003 05:00:51 -0700 (PDT) (envelope-from lahaye@users.sourceforge.net) Received: (snipe 967 invoked by alias); 30 Jun 2003 12:09:23 -0000 Received: from lahaye@users.sourceforge.net with Spamsniper2.0 (Processed in 0.048911 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 30 Jun 2003 12:09:23 -0000 X-RCPTTO: freebsd-questions@FreeBSD.ORG,listone@deathbeforedecaf.net, Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (8.12.9/8.12.9) with ESMTP id h5UBwXuR307144; Mon, 30 Jun 2003 20:58:33 +0900 Message-ID: <3F002678.6050405@users.sourceforge.net> Date: Mon, 30 Jun 2003 21:00:56 +0900 From: Rob Lahaye Organization: Seoul National University - South Korea User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030518 X-Accept-Language: en-us, en, ko-kr MIME-Version: 1.0 To: Rob , freebsd-questions@FreeBSD.ORG References: <3EFFFE5A.7060500@snu.ac.kr><00d201c33eeb$05075870$a4b826cb@goo><3F000966.5000102@users.sourceforge.net><011b01c33ef0$059c0510$a4b826cb@goo><3F000FC6.7000300@users.sourceforge.net><000601c33ef6$c4908b70$a4b826cb@goo><3F001AD8.2030805@users.sourceforge.net> <001101c33ef9$95181c70$a4b826cb@goo> <3F001E97.2090401@snu.ac.kr> <000601c33efe$08c06e30$a4b826cb@goo> In-Reply-To: <000601c33efe$08c06e30$a4b826cb@goo> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: mount & umount read-only floppy: unmount failed: Input/output error ?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 12:00:52 -0000 Rob wrote: > > Yep - just tried > > mount -u -r -f /mnt > > and also > > umount -f /tmp > > Both fail with I/O errors, presumably from the fdc0 device. Also when > rebooting, the failed sync interferes with unmounting other filesystems, > causing fsck(8)s on the way back up. > > But mount/umount can't just ignore the device status - if it says things > are broken, what should they do? I don't know. I may have given wrongly the impression that I am familiar with this matter. I am not at all. I just noticed a very illogical behaviour when mounting my readonly floppy; that's all. With my simple mind, I would say: 'mount' should be able to detect that you do a read/write-mount, but the medium is readonly; so it should give an error message and NOT mount. BUT: if it does mount the medium (floppy), then umount should also do its job; and not, as it is now, refuse to umount. Rob.