Date: Mon, 13 Mar 2000 23:44:36 -0800 (PST) From: Sheldon Hearn <sheldonh@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/tunefs tunefs.c Message-ID: <200003140744.XAA23268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003140744.XAA23268>
