From owner-cvs-all Tue May 1 19:16:21 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BE6F037B43C; Tue, 1 May 2001 19:16:16 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f422GG037830; Tue, 1 May 2001 19:16:16 -0700 (PDT) (envelope-from dd) Message-Id: <200105020216.f422GG037830@freefall.freebsd.org> From: Dima Dorfman Date: Tue, 1 May 2001 19:16:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount mount.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dd 2001/05/01 19:16:16 PDT Modified files: sbin/mount mount.c Log: Implement the -r and -w options as `-o ro' and `-o noro', respectively. At least in -w's case, simply unsetting the correct bit in init_flags was not enough. The bit may be reset later if, say, the filesystem is marked `ro' in fstab. The command line option should override the fstab setting, but did not. The implementation of -r was changed for consistency. PR: 26886 Reviewed by: archie Revision Changes Path 1.42 +3 -3 src/sbin/mount/mount.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message