From owner-cvs-all Mon Mar 13 23:44:40 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5665537B5DE; Mon, 13 Mar 2000 23:44:38 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA23268; Mon, 13 Mar 2000 23:44:37 -0800 (PST) (envelope-from sheldonh@FreeBSD.org) Message-Id: <200003140744.XAA23268@freefall.freebsd.org> From: Sheldon Hearn <sheldonh@FreeBSD.org> Date: Mon, 13 Mar 2000 23:44:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/tunefs tunefs.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sheldonh 2000/03/13 23:44:35 PST Modified files: sbin/tunefs tunefs.c Log: Open the device read-only initially and re-open read-write if necessary later. This allows tunefs -p on mounted filesystems. Side-effects: Use K&R prototypes. Use definitions from fcntl.h for the flags argument to open(2). There are cosmetic differences between this and the submitted patch. PR: 17143 Reported by: Peter Edwards <peter.edwards@ireland.com> Submitted by: luoqi Revision Changes Path 1.12 +34 -14 src/sbin/tunefs/tunefs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message