From owner-cvs-all@FreeBSD.ORG Sat Feb 25 15:32:12 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 2E3DB16A420; Sat, 25 Feb 2006 15:32:12 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D1A943D46; Sat, 25 Feb 2006 15:32:11 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from c-24-147-19-128.hsd1.ma.comcast.net (c-24-147-19-185.hsd1.ma.comcast.net[24.147.19.185](misconfigured sender)) by comcast.net (sccrmhc11) with ESMTP id <2006022515321001100knbpje>; Sat, 25 Feb 2006 15:32:10 +0000 Received: from c-24-147-19-128.hsd1.ma.comcast.net (localhost [127.0.0.1]) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.4/8.13.1) with ESMTP id k1PFWADK003516; Sat, 25 Feb 2006 10:32:10 -0500 (EST) (envelope-from rodrigc@c-24-147-19-128.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-24-147-19-128.hsd1.ma.comcast.net (8.13.4/8.13.1/Submit) id k1PFW9jx003515; Sat, 25 Feb 2006 10:32:09 -0500 (EST) (envelope-from rodrigc) Date: Sat, 25 Feb 2006 10:32:09 -0500 From: Craig Rodrigues To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20060225153209.GA3492@crodrigues.org> References: <200602250509.k1P59lcn068283@repoman.freebsd.org> <20060225141030.GC27069@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060225141030.GC27069@submonkey.net> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: 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: Sat, 25 Feb 2006 15:32:12 -0000 On Sat, Feb 25, 2006 at 02:10:30PM +0000, Ceri Davies wrote: > Thanks. > > How about mount -u -o rw and mount -u -o ro to flip ro/rw status? My previous commit restored behavior to mount(8) that was undocumented, but people and startup scripts depended on that behavior. Your suggestion implements new behavior for mount(8). I don't have the time or interest to implement your suggestion If you want to flip ro status, then use the existing behavior of mount(8): mount -u mount -u -w mount -u -r to do it, or implement the behavior you want yourself in mount(8). -- Craig Rodrigues rodrigc@crodrigues.org