From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 16:48:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61A6316A4CE for ; Thu, 19 Aug 2004 16:48:02 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBE8843D31 for ; Thu, 19 Aug 2004 16:48:00 +0000 (GMT) (envelope-from keramida@linux.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])i7JGlwdd013318 for ; Thu, 19 Aug 2004 19:47:59 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) i7JGlqJO004187 for ; Thu, 19 Aug 2004 19:47:52 +0300 (EEST) (envelope-from keramida@linux.gr) Received: (from keramida@localhost)i7JGlqpt004186 for current@freebsd.org; Thu, 19 Aug 2004 19:47:52 +0300 (EEST) (envelope-from keramida@linux.gr) Date: Thu, 19 Aug 2004 19:47:52 +0300 From: Giorgos Keramidas To: current@freebsd.org Message-ID: <20040819164751.GB4004@orion.daedalusnetworks.priv> References: <20040819141310.GA756@gicco.homeip.net> <19666.1092926344@critter.freebsd.dk> <20040819161000.GB843@gicco.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040819161000.GB843@gicco.homeip.net> Subject: Re: [REVIEW/TEST] Rewritten floppy driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 16:48:02 -0000 On 2004-08-19 18:10, Hanspeter Roth wrote: > On Aug 19 at 16:39, Poul-Henning Kamp spoke: > > >If a write protected floppy is attempted to be mounted writable and > > >a write will be attempted on the floppy doesn't it prevent all > > >other mounted filesystems from being unmounted? > > > > I'm trying to get to where we can fix this sort of stuff properly :-) > > If a writeprotected floppy can't be mounted writable it's > sufficient. The patch prevents read-write mounts of read-only floppies: : orion# mount : /dev/ad0s1a on / (ufs, NFS exported, local) : devfs on /dev (devfs, local) : /dev/ad0s4g on /home (ufs, NFS exported, local, soft-updates) : /dev/ad0s4f on /usr (ufs, local, soft-updates) : /dev/ad0s4e on /var (ufs, local, soft-updates) : : orion# mount -t ufs /dev/fd0 /mnt : mount: /dev/fd0: Read-only file system : : orion# mount : /dev/ad0s1a on / (ufs, NFS exported, local) : devfs on /dev (devfs, local) : /dev/ad0s4g on /home (ufs, NFS exported, local, soft-updates) : /dev/ad0s4f on /usr (ufs, local, soft-updates) : /dev/ad0s4e on /var (ufs, local, soft-updates)