From owner-freebsd-current@FreeBSD.ORG Wed Sep 27 16:28:08 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 AB8BE16A403 for ; Wed, 27 Sep 2006 16:28:08 +0000 (UTC) (envelope-from rnsanchez@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E62D443D5A for ; Wed, 27 Sep 2006 16:28:01 +0000 (GMT) (envelope-from rnsanchez@gmail.com) Received: by nz-out-0102.google.com with SMTP id v1so113871nzb for ; Wed, 27 Sep 2006 09:28:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=Xr6QNmg3iSknat48W1sakh9TelAg4TuLXGi2wa8lsu9B8SGgtGbAz7B/8LQxczOnNjFXmFfIU7kqHYzR7cfLo2zqcnqEkLugKs5jv5E2FgOeIkGudoeIkXepU5PaLV7AzfUxbt0VKIZT0350dx9W97OZ1BH+gdDrBPwhOYqmoeg= Received: by 10.64.156.3 with SMTP id d3mr227153qbe; Wed, 27 Sep 2006 09:28:00 -0700 (PDT) Received: from sauron.lan.box ( [200.203.20.184]) by mx.gmail.com with ESMTP id f17sm976366qba.2006.09.27.09.27.59; Wed, 27 Sep 2006 09:28:00 -0700 (PDT) Date: Wed, 27 Sep 2006 13:27:55 -0300 From: Ricardo Nabinger Sanchez To: freebsd-current@freebsd.org Message-Id: <20060927132755.d7da16d9.rnsanchez@gmail.com> In-Reply-To: <20060927164323.S40914@atlantis.atlantis.dp.ua> References: <20060927164323.S40914@atlantis.atlantis.dp.ua> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dmitry Pryanishnikov Subject: Re: 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 16:28:08 -0000 On Wed, 27 Sep 2006 16:57:17 +0300 (EEST) Dmitry Pryanishnikov wrote: > 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? Perhaps this is UFS-specific, as I have an ext2 fs mounted as RO: % mount /dev/ad1s3a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad1s2d on /home (ufs, local, soft-updates) /dev/ad1s3d on /tmp (ufs, local, soft-updates) /dev/ad1s1 on /mnt/Audio (ext2fs, local, read-only) % cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad1s3b none swap sw 0 0 /dev/ad1s3a / ufs rw 1 1 /dev/ad1s2d /home ufs rw 2 2 /dev/ad1s3d /tmp ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/ad1s1 /mnt/Audio ext2fs ro 0 2 /dev/da0s1 /mnt/floppy msdosfs rw,noauto 0 0 /dev/da0s2 /mnt/ipod msdosfs rw,noauto 0 0 -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."