From owner-freebsd-current@FreeBSD.ORG Wed Sep 27 13:57:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 6CB4016A403 for ; Wed, 27 Sep 2006 13:57:27 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F8143D67 for ; Wed, 27 Sep 2006 13:57:24 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k8RDvHU4003214 for ; Wed, 27 Sep 2006 16:57:19 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: from localhost (dmitry@localhost) by atlantis.dp.ua (8.13.1/8.13.1/Submit) with ESMTP id k8RDvHYK003211 for ; Wed, 27 Sep 2006 16:57:17 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Wed, 27 Sep 2006 16:57:17 +0300 (EEST) From: Dmitry Pryanishnikov To: freebsd-current@freebsd.org Message-ID: <20060927164323.S40914@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: mount -a doesn't obey "ro" in /etc/fstab X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 27 Sep 2006 13:57:27 -0000 Hello! In order to test the new shiny msk driver, I've installed 6.2-PREPELEASE and then upgraded it to the CURRENT as of date=2006.09.26.00.00.00 (to overcome recent libalias breakage, and also to make sure that msk.HEAD.diff will apply cleanly). I've noticed the something very new (and annoying) after the upgrade: all filesystems listed in /etc/fstab with "ro" are still mounted as R/W. Here is my /etc/fstab: # Device Mountpoint FStype Options Dump Pass# /dev/ad0s3b none swap sw 0 0 /dev/ad0s4a / ufs rw,sync 0 1 /dev/ad0s4e /usr ufs rw 0 2 /dev/ad0s3a /mnt3 ufs ro 0 0 /dev/ad0s3d /mnt3/usr ufs ro 0 0 and here is 'mount' output: $ mount /dev/ad0s4a on / (ufs, local, synchronous) devfs on /dev (devfs, local) /dev/ad0s4e on /usr (ufs, local, soft-updates) /dev/ad0s3a on /mnt3 (ufs, local) /dev/ad0s3d on /mnt3/usr (ufs, local, soft-updates) I also can write under /mnt3, so 'mount' correctly shows FS status. mount _does_ obey 'mount -ur /mnt3', it just ignores "ro" in /etc/fstab. Booting into the single-user mode and making 'mount -a' has the same effect. Is this breakage well-known, or something new? Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE