From owner-cvs-src@FreeBSD.ORG Sat Jun 10 01:39:04 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B087916A418; Sat, 10 Jun 2006 01:39:04 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 705E843D70; Sat, 10 Jun 2006 01:39:04 +0000 (GMT) (envelope-from jmallett@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 k5A1b06K051281; Sat, 10 Jun 2006 01:37:00 GMT (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5A1b02Z051280; Sat, 10 Jun 2006 01:37:00 GMT (envelope-from jmallett) Message-Id: <200606100137.k5A1b02Z051280@repoman.freebsd.org> From: Juli Mallett Date: Sat, 10 Jun 2006 01:37:00 +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-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 01:39:04 -0000 jmallett 2006-06-10 01:37:00 UTC FreeBSD src repository Modified files: sbin/mount mount.c Log: Rather than using specified_ro to parse the options list an extra time, and keeping a flag to check whether we actually wanted to mount the filesystem readonly, setup the options list so that we start off by assuming rw is what's desired and let later flags change that. Revision Changes Path 1.86 +6 -32 src/sbin/mount/mount.c