From owner-cvs-all@FreeBSD.ORG Tue Oct 24 22:02:30 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77BB416A47C; Tue, 24 Oct 2006 22:02:30 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C9F43D5A; Tue, 24 Oct 2006 22:02:29 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9OM2T8C090727; Tue, 24 Oct 2006 22:02:29 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9OM2TIG090724; Tue, 24 Oct 2006 22:02:29 GMT (envelope-from ru) Message-Id: <200610242202.k9OM2TIG090724@repoman.freebsd.org> From: Ruslan Ermilov Date: Tue, 24 Oct 2006 22:02:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/mount mount.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 22:02:30 -0000 ru 2006-10-24 22:02:29 UTC FreeBSD src repository Modified files: sbin/mount mount.c Log: Revert rev. 1.86 by jmallett@ as it breaks "ro" mounts specified in /etc/fstab. This has been happening due to the priority inversion; options specified on the command line should take precedence over options from fstab over default "noro" option, but since both the default "noro" and options specified on the command line (-w, -r, -o ...) were put into the same "options" variable, "noro" took precedence over fstab "ro" (this is easily visible with "mount -d"). PR: bin/100164 Revision Changes Path 1.89 +32 -6 src/sbin/mount/mount.c