Sheldon Hearn 060ac658cc 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
2000-03-14 07:44:32 +00:00
..
1999-10-05 21:19:41 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
1999-12-15 19:48:02 +00:00
1999-12-15 19:48:02 +00:00
2000-02-09 21:01:35 +00:00
1999-12-15 19:48:02 +00:00
1999-12-04 01:29:43 +00:00
1999-11-15 03:13:23 +00:00
1999-12-09 19:10:13 +00:00
1999-08-28 00:22:10 +00:00
1999-08-28 00:22:10 +00:00
2000-01-29 13:54:44 +00:00