K 10 svn:author V 8 sheldonh K 8 svn:date V 27 2000-03-14T07:44:32.000000Z K 7 svn:log V 384 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 Submitted by: luoqi END