Commit Graph

19 Commits

Author SHA1 Message Date
sheldonh
7ce39dc45d 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
sheldonh
ff1f324516 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
luoqi
ab74d7daf1 Remove unused #include and prototype declaration. 2000-01-30 05:24:55 +00:00
luoqi
bf195fb99c Typo fix. While I am at it, remove the name translation from block to raw
device, they are equivalent now (or more accurately we no longer have block
devices).

Submitted by:	Gregory Sutter <gsutter@pobox.com>
2000-01-30 05:09:48 +00:00
phantom
11b97513a0 Document a waring that tunefs(8) emits when enabling/disabling
soft updates on an unmounted filesystem.

PR:		docs/15657
Submitted by:	Mark Ovens <mark@ukug.uk.FreeBSD.org>
2000-01-07 13:05:04 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
luoqi
2c32e3b9e7 Check if an fs is mounted before checking if it is mounted read-only.
Pointed out by:		Mike Smith	<msmith@freebsd.org>
1999-07-19 21:04:25 +00:00
luoqi
bfbf2fe72f Allow tuning of read-only mounted file system.
Reviewed by:	Bruce Evans	<bde@zeta.org.au>
1999-01-20 01:22:39 +00:00
des
3c93584273 Sort options alphabetically. 1999-01-13 08:07:56 +00:00
charnier
0fc51bafab Document -n (soft-update) flag.
Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
1998-08-03 06:41:20 +00:00
julian
10c5ccc30a Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)
Submitted by:	Kirk McKusick (mcKusick@mckusick.com)
Obtained from:  WHistle development tree
1998-03-08 09:59:44 +00:00
charnier
c50254e7ea Cosmetic in usage string. 1997-06-19 14:42:10 +00:00
mpp
27e5218d1c Correct some man page cross references and some file
locations.
1996-02-05 17:32:16 +00:00
peter
a74bc66c02 Add (apparently) Larry McVoy's warning.... 1995-08-12 15:49:12 +00:00
joerg
17f2f0b53d When tuneing filesystems with tunefs, it is not obvious what the current
parameters are.  You can use dumpfs, but that's not obvious which settings
are tuneable, and is far from clear to the non-guru (it's like using a
hexdump of a tar archive to get a table-of-contents).

There is also an undocumented option in the man page that can be dangerous.
Suppose your disk driver decides to scramble all writes while you tell
tunefs to update all backup superblocks.

This suggested change adds a '-p' (print) switch to bring it in
line with some SVR4 systems.

(Slightly changed by me, mostly for optics. - joerg)

Submitted by:	peter@haywire.dialix.com
1995-06-25 17:46:13 +00:00
rgrimes
f3a2b348da Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
dg
876858a7b2 Changed manual page to conform to the reality in FreeBSD. 1995-03-15 07:08:33 +00:00
wollman
57ea13e98c Convert to our man installation style. Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
1994-08-05 02:42:42 +00:00
rgrimes
d038e02fd6 BSD 4.4 Lite sbin Sources
Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
1994-05-26 06:35:07 +00:00