History log of /freebsd-current/sbin/newfs/newfs.8
Revision Date Author Comments
# 61dece6d 14-May-2024 Kirk McKusick <mckusick@FreeBSD.org>

Enable soft updates by default for UFS2 filesystems.

Soft updates dramatically improve the performance of UFS filesystems.
The newfs(8) utility currently does not enable them by default. The
FreeBSD installer enables soft updates by default. However custom
built installations that do not specify the -U option to newfs(8)
and the prebuilt UFS system images get filesystems without soft
updates enabled.

There are several testing sites that run benchmarks comparing the
performance of Linux distributions versus BSD distributions. When
they run filesystem comparison benchmarks they use newfs(8) to
create the UFS filesystem. Because it does not have soft updates
enabled it runs poorly versus the Linux ext4 filesystem. When I
have suggested to them that they should enable soft updates on the
UFS filesystem in their testing their response is that they expect
the utility that creates the filesystem to use optimal defaults and
that they cannot be expected to fiddle with various option settings.

The purpose of this change is to give a filesystem created with
newfs(8) reasonably optimal settings. For UFS2 this means enabling
soft updates. For UFS1 which tends to be used on small systems with
minimal memory and CPU speed, the lower memory footprint of running
without soft updates is a more sensible default.

This change adds a note in the section of the newfs(8) manual page
that describes the -U option for enabling soft updates that they
are enabled by default for UFS2 filesystems and that they can be
disabled by using tunefs(8).

Reviewed-by: Warner Losh, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45201


# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 4ce2a2db 06-Aug-2023 Kirk McKusick <mckusick@FreeBSD.org>

Update newfs(8) and tunefs(8) manual pages.

Delete note that UFS/FFS filesystems running with journaled soft updates
cannot run background fsck as 344b5bf made it possible to do so.

MFC-with: 344b5bf
Sponsored-by: The FreeBSD Foundation


# 78f41298 12-Nov-2022 Kirk McKusick <mckusick@FreeBSD.org>

Enable taking snapshots on UFS/FFS filesystems using journaled soft updates.

All the needed infrastructure updates have been made to allow
snapshots to be taken on UFS/FFS filesystems that are using journaled
soft updates. The most immediate benefit is the ability to use a
snapshot to take a consistent filesystem dump on a live filesystem
using the -L option to dump(8).

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36491


# 0929a153 21-Oct-2022 Kirk McKusick <mckusick@FreeBSD.org>

Add a description of soft updates journaling to newfs(8).

Add a descrition to the newfs(8) -j (journal enablement) flag
that explains what soft updates journaling does, the tradeoffs
to using it, and the limitations that it imposes. Copied from
the description in tunefs(8).

PR: 261944
Sponsored by: The FreeBSD Foundation


# 016aeb7c 14-Aug-2022 Jens Schweikhardt <schweikh@FreeBSD.org>

The fdformat man page is in section 8 (not 1).


# 5b9b65e9 20-Jan-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

Explain the newfs naming convention

It might be unclear why newfs and newfs_msdos should cross-reference
each other. Add a note explaining it.

This is a follow-up to 74bd20769706041108a573601cf0b61c755bdc56.

Reported by: kib
Reviewed by: imp, kib, rpokala
MFC after: 3 days


# 74bd2076 07-Jan-2021 Mateusz Piotrowski <0mp@FreeBSD.org>

Reference newfs_msdos(8) from the newfs(8) manual

PR: 252484
Reported by: Graham Perrin <grahamperrin@gmail.com>
MFC after: 3 days


# e13534d5 28-Dec-2020 Gordon Bergling <gbe@FreeBSD.org>

newfs(8): Fix unusual Xr order

- unusual Xr order: gjournal after gpart

MFC after: 3 days


# 47d3e2f8 07-Aug-2019 Kirk McKusick <mckusick@FreeBSD.org>

Correct the location of the first backup superblock in fsck_ffs.8.
Make a note in the newfs.8 manual page to update the first backup
superblock location when changing the default fragment size for
the filesystem.

Reported by: O. Hartmann


# 1165591e 29-Jan-2019 Dmitry Morozovsky <marck@FreeBSD.org>

Allow dashes as a valid character in UFS labels.

Reviewed by: mckusick, imp, 0mp
MFC after: 2 weeks
Differential Revision: D18991


# 0cde0ab2 25-Jan-2019 Kirk McKusick <mckusick@FreeBSD.org>

Allow tunefs to include '_' as a legal character in label names
to make it consistent with newfs. Document the legality of '_'
in label names in both tunefs(8) and newfs(8).

PR: 235182
Submitted by: darius@dons.net.au
Reviewed by: Conrad Meyer
MFC after: 3 days
Sponsored by: Netflix


# bbbfb2a9 07-Jul-2017 Warner Losh <imp@FreeBSD.org>

Bump date for today's commit.


# 1e001b99 07-Jul-2017 Warner Losh <imp@FreeBSD.org>

Improve wording for -E and -t flags. -E never writes the entire disk,
so don't imply that. Note that if BIO_DELETE isn't supported, the
operation will fail (as opposed to writing the entire disk with
zeros). Thin storage also benefits from trim. List more accurate
reason why trim helps flash-memory.


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# b8c19fd7 02-Sep-2015 Edward Tomasz Napierala <trasz@FreeBSD.org>

It's 2015, and some people are still trying to use fdisk and then
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.

Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.

Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315


# 57198f08 15-Jul-2015 John-Mark Gurney <jmg@FreeBSD.org>

fix the docs, the number of frags per inode (NFPI) changed in r228794
to 2 from 4, but the man page didn't get updated...

other minor changes to make igor happy...

MFC after: 3 days


# c09eb466 27-Dec-2014 Joel Dahl <joel@FreeBSD.org>

mdoc: improvements to SEE ALSO.


# 05d98029 01-Oct-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Sweep man pages replacing ad -> ada.

Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only


# b1edef17 11-Apr-2013 Joel Dahl <joel@FreeBSD.org>

Remove contractions.


# baa12a84 22-Mar-2013 Kirk McKusick <mckusick@FreeBSD.org>

The purpose of this change to the FFS layout policy is to reduce the
running time for a full fsck. It also reduces the random access time
for large files and speeds the traversal time for directory tree walks.

The key idea is to reserve a small area in each cylinder group
immediately following the inode blocks for the use of metadata,
specifically indirect blocks and directory contents. The new policy
is to preferentially place metadata in the metadata area and
everything else in the blocks that follow the metadata area.

The size of this area can be set when creating a filesystem using
newfs(8) or changed in an existing filesystem using tunefs(8).
Both utilities use the `-k held-for-metadata-blocks' option to
specify the amount of space to be held for metadata blocks in each
cylinder group. By default, newfs(8) sets this area to half of
minfree (typically 4% of the data area).

This work was inspired by a paper presented at Usenix's FAST '13:
www.usenix.org/conference/fast13/ffsck-fast-file-system-checker

Details of this implementation appears in the April 2013 of ;login:
www.usenix.org/publications/login/april-2013-volume-38-number-2.
A copy of the April 2013 ;login: paper can also be downloaded
from: www.mckusick.com/publications/faster_fsck.pdf.

Reviewed by: kib
Tested by: Peter Holm
MFC after: 4 weeks


# 89d8548c 22-Jun-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Advertise growfs(8) a little better.


# 3fa3e267 28-May-2011 Kirk McKusick <mckusick@FreeBSD.org>

Update the manual page to reflect the new 32K/4K defaults.

Reminded by: Ivan Voras


# 75297f6e 22-Feb-2011 Jaakko Heinonen <jh@FreeBSD.org>

Xref makefs(8).

PR: 154708
Submitted by: jhs


# d92f0739 15-Feb-2011 Kirk McKusick <mckusick@FreeBSD.org>

Add the -j option to enable soft updates journaling when creating
a new file system.

Reviewed by: Kostik Belousov <kostikbel@gmail.com>


# a738d4cf 28-Dec-2010 Konstantin Belousov <kib@FreeBSD.org>

Add support for FS_TRIM to user-mode UFS utilities.

Reviewed by: mckusick, pjd, pho
Tested by: pho
MFC after: 1 month


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 75f01cd1 13-Sep-2010 Glen Barber <gjb@FreeBSD.org>

Synchronize newfs(8) manual with code.

PR: 61716
Submitted by: Radim Kolar <hsn at netmag cz>
Patch by: arundel
Approved by: keramida (mentor)
MFC after: 1 week


# 92d01db2 12-Sep-2010 Glen Barber <gjb@FreeBSD.org>

Rewording and typo fixes in newfs(8).

PR: 150490
Submitted by: Eitan Adler <foreignuser at eitanadler com>
Additional fixes by: Warren Block <wblock at wonkity com>, keramida
Approved by: keramida (mentor)
MFC after: 1 week


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 8c04d588 09-Mar-2010 Maxim Sobolev <sobomax@FreeBSD.org>

Fix "Empty input line" mdoc warning.

Submitted by: Alexander Best


# 4e6430a6 29-Apr-2009 Edward Tomasz Napierala <trasz@FreeBSD.org>

Slightly improve gjournal documentation.

Reviewed by: pjd


# 64c8fef5 03-Dec-2008 Luigi Rizzo <luigi@FreeBSD.org>

Enable operation of newfs on plain files, which is useful when you
want to prepare disk images for emulators (though 'makefs' in port
can do something similar).

This relies on:
+ minor changes to pass the consistency checks even when working on a file;

+ an additional option, '-p partition' , to specify the disk partition to
initialize;

+ some changes on the I/O routines to deal with partition offsets.

The latter was a bit tricky to implement, see the details in newfs.h:
in newfs, I/O is done through libufs which assumes that the file
descriptor refers to the whole partition. Introducing support for
the offset in libufs would require a non-backward compatible change
in the library, to be dealt with a version bump or with symbol
versioning.

I felt both approaches to be overkill for this specific application,
especially because there might be other changes to libufs that might
become necessary in the near future.

So I used the following trick:
- read access is always done by calling bread() directly, so we just add
the offset in the (few) places that call bread();
- write access is done through bwrite() and sbwrite(), which in turn
calls bwrite(). To avoid rewriting sbwrite(), we supply our own version
of bwrite() here, which takes precedence over the version in libufs.

MFC after: 4 weeks


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# eba8219e 21-Mar-2008 Remko Lodder <remko@FreeBSD.org>

Replace reference from vinum.8 to gvinum.8, it was advised in the PR to
replace this with vinum.4, but that's the kernel interface manual, which
is not appropriate in my understanding. I think that gvinum is a suitable
replacement for this.

PR: docs/121938
Submitted by: "Federico" <federicogalvezdurand at yahoo dot com>
MFC after: 3 days


# 9a6378d8 16-Dec-2007 Poul-Henning Kamp <phk@FreeBSD.org>

Rename the undocumented -E option to -X.

Implement -E option which will erase the filesystem sectors before
making the new filesystem. Reserved space in front of the superblock
(bootcode) is not erased.

NB: Erasing can take as long time as writing every sector sequentially.

This is relevant for all flash based disks which use wearlevelling.


# 35956d32 28-Nov-2007 Yaroslav Tykhiy <ytykhiy@gmail.com>

MFp4:

Add a new option to newfs(8), -r, to specify reserved space at the
end of the device. It can be useful, e.g., when the device is to
become a member of a gmirror array later w/o losing the file system
on it.

Document the new option in the manpage.

While I'm here, improve error handling for -s option, which is
syntactically similar to -r; and document the fact that -s0 selects
the default fs size explicitly, which can be useful, e.g., in a
menu-based wrapper around newfs(8) requiring some value be entered
for the fs size.

Also fix a small typo in the help line for -s (missing space).

Idea and initial implementation by: marck
Discussed on: -fs
Critical review by: bde
Tested with: cmp(1)


# 868c68ed 31-Oct-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournal
support.
I left -j flag for UFS journal implementation which we may gain at some
point.

Sponsored by: home.pl


# a1761aec 22-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Polish previous revision:

- Bump document date.
- Spell "file system" properly.
- Add missing markup bits.


# 34b59b6b 21-Jan-2005 Wes Peters <wes@FreeBSD.org>

Add an option to suppress the creation of the .snap directory in
the new filesystem. This is intended for memory and vnode filesystems
that will never be fsck'ed or dumped.

Obtained from: St. Bernard Software RAPID
MFC after: 2 weeks


# d04b5dfe 17-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Assorted markup, grammar, and spelling fixes.


# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# ce20d788 25-Feb-2004 Robert Watson <rwatson@FreeBSD.org>

Add a "-l" flag to newfs, which sets the FS_MULTILABEL flag. This
permits users of newfs to set the multilabel flag on UFS1 and UFS2
file systems from inception without using tunefs.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research


# 8b23842d 11-Oct-2003 Marc Fonvieille <blackend@FreeBSD.org>

s/disklabel/bsdlabel where needed.


# 2918f54c 14-Sep-2003 Ceri Davies <ceri@FreeBSD.org>

Remove an unneccessary comma.


# fe08efe6 08-Sep-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7): Use the new feature of the .In macro.


# d4cb71fc 20-Apr-2003 Christian Brueffer <brueffer@FreeBSD.org>

Remove reference to diskpart(8)

PR: 51193
Submitted by: Yonatan@xpert.com


# b459937e 20-Apr-2003 Robert Watson <rwatson@FreeBSD.org>

Throw the switch--change to UFS2 as our default file system format for
FreeBSD 5.1-RELEASE and later:

- newfs(8) will now create UFS2 file systems unless UFS1 is specifically
requested (-O1). To do this, I just twiddled the Oflag default.

- sysinstall(8) will now select UFS2 as the default layout for new
file systems unless specifically requested (use '1' and '2' to change
the file system layout in the disk labeler). To do this, I inverted
the ufs2 flag into a ufs1 flag, since ufs2 is now the default and
ufs1 is the edge case. There's a slight semantic change in the
key behavior: '2' no longer toggles, it changes the selection to UFS2.

This is very similar to a patch David O'Brien sent me at one point, and
that I couldn't find.

Approved by: re (telecon)
Reviewed by: mckusick, phk, bmah


# 522ccf3f 22-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup laundry.


# 66227a44 18-Feb-2003 John W. De Boskey <jwd@FreeBSD.org>

Our first keyword hit for apropos ufs2.


# c715b047 31-Jan-2003 Gordon Tetlow <gordon@FreeBSD.org>

Bring in support for volume labels to the filesystem utilities.

Reviewed by: mckusick


# 5af4935a 26-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

Fix some 'SYNOPSIS' and 'usage' messages.


# ce66ddb7 21-Aug-2002 Tom Rhodes <trhodes@FreeBSD.org>

s/filesystem/file system/g as discussed on -developers


# 3e40554f 13-Aug-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Consistently name options' arguments in the SYNOPSIS and DESCRIPTION sections..


# e1205e80 06-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 1c85e6a3 21-Jun-2002 Kirk McKusick <mckusick@FreeBSD.org>

This commit adds basic support for the UFS2 filesystem. The UFS2
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.

Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.

Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).

Sponsored by: DARPA & NAI Labs.
Reviewed by: Poul-Henning Kamp <phk@freebsd.org>


# 3468b317 15-May-2002 Tom Rhodes <trhodes@FreeBSD.org>

more file system > filesystem


# 4ab9c1d1 23-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Remove the -v option, it is now default behaviour.

Sponsored by: DARPA & NAI Labs


# 5dccd5c6 20-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Swing the axe and remove some archaic features from newfs which modern
diskdrives do neither need nor want:

-O create a 4.3BSD format filesystem
-d rotational delay between contiguous blocks
-k sector 0 skew, per track
-l hardware sector interleave
-n number of distinguished rotational positions
-p spare sectors per track
-r revolutions/minute
-t tracks/cylinder
-x spare sectors per cylinder

No change in the produced filesystem image unless one or more of
these options were used.

Approved by: mckusick


# 3626f833 11-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Update the default newfs block and fragment sizes from 8192/1024 to
16384/2048.

Following recent discussions on the -arch mailing list, involving dillon
and mckusick, this change parallels the one made over a decade ago when
the default was bumped up from 4096/512.

This should provide significant performance improvements for most
folks, less significant performance losses for a few folks and
wasted space lost to large fragments for many folks.

For discussion, please see the following thread in the -arch archive:

Subject: Using a larger block size on large filesystems

The discussion ceases to be relevant when the issue of partitioning
schemes is raised.


# be42c563 07-Dec-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix typo: 'fragement' -> 'fragment'


# 629c25d4 27-Nov-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix the example of suggested default settings. It stated that settings
were only of benefit to large filesystems, which recent research
suggests is not the case, and which the original author of the text
no longer endorses.


# 2441e154 27-Nov-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Correct the example introduced in rev 1.29, which suggested a block:frag
size ratio other than 8:1. Currently, we only recommend an 8:1
ratio, because the impact of others ratios has not been adequately
investigated.

Also, do not recommend the use of the -c option in the example, since
newfs now automatically calculates the best cyl:cylgrp ratio.

This change was discussed with the author of rev 1.29.


# eb9d1d27 15-Oct-2001 Doug Barton <dougb@FreeBSD.org>

Document the optimal block:fragment ratio, per discussion
on -arch and cvs-all.

Reviewed by: dillon


# 08870345 03-Oct-2001 Ollivier Robert <roberto@FreeBSD.org>

Following the discussion in -arch and the submission of a patch by bde, here
it is. I added the manpage change.

Submitted by: bde
MFC after: 1 week


# 7ebcc426 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# 9fe48c6e 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# 70d51341 09-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 7ccb741f 29-May-2001 Dima Dorfman <dd@FreeBSD.org>

Remove all references to MFS.


# 044479f5 10-Apr-2001 Nik Clayton <nik@FreeBSD.org>

Add information about the new options to newfs and tunefs which set the
expected average file size and number of files per directory. Could do
with some fleshing out.


# 8af4736a 02-Apr-2001 David E. O'Brien <obrien@FreeBSD.org>

Document the newfs.c rev 1.33 changing the default c/g from 16 to 22.


# 991bf321 02-Apr-2001 David E. O'Brien <obrien@FreeBSD.org>

Fix patch merge braino.


# b2cd1ce8 01-Apr-2001 David E. O'Brien <obrien@FreeBSD.org>

Allow enabling soft updates (with -U) on a new filesystem.

[I first added this functionality, and thought to check prior art. Seeing
OpenBSD had already done this, I changed my addition to reduce the diffs
between the two and went with their option letter.]
Obtained from: OpenBSD


# 7cf109c1 30-Jan-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Make mount_mfs annoy users for 15 seconds and point them at mdconfig(8).


# 98849115 16-Jan-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: fixed broken references.


# 10185bdc 14-Jan-2001 Eivind Eklund <eivind@FreeBSD.org>

Replace reference to replacing mkfs(8) with a paragraph actually
describing what newfs *does*.


# d90d7015 27-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# 64dee60f 19-Dec-2000 Warner Losh <imp@FreeBSD.org>

o Add an example for a large file system.
o Remove bug about boot blocks hating non-8k file systems. This hasn't been
the case for a long time.

Not Objected to by: hackers, doc


# 7c7fb079 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 726b61ab 10-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Avoid use of direct troff requests in mdoc(7) manual pages.


# ef8f7ac9 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

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.


# d9d67bba 30-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Add Xref to camcontrol(8) (replacing previously-removed scsiformat(8)).

Submitted by: joerg


# f050f700 22-Jan-2000 Mike Pritchard <mpp@FreeBSD.org>

Fix various man pages to stop abusing the .Bx macro to generate
the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro
instead.


# 3c7fbe12 14-Nov-1999 Kris Kennaway <kris@FreeBSD.org>

Remove dead xref to scsiformat(8)

Obtained from: OpenBSD (kind of)


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 63a134bc 10-Mar-1999 Greg Lehey <grog@FreeBSD.org>

Describe the default values for useful options.

Clarify which options are no longer useful.


# e14589db 29-Nov-1998 Bruce Evans <bde@FreeBSD.org>

Straightened the terminology straightening in 1.17-1.18. Fixed hard
line breaks in rev.1.16-1.18.


# c276ec5a 28-Nov-1998 Robert Nordier <rnordier@FreeBSD.org>

Refer to "da" rather than "sd" device.


# 11ee80a9 29-Sep-1998 Greg Lehey <grog@FreeBSD.org>

Don't require an argument for -v flag
Correct checks for null special file names
Add Usage entry for -v flag
Get terminology straight in man page
Reviewed by: bde


# f7fb3ee0 11-Sep-1998 Greg Lehey <grog@FreeBSD.org>

Reviewed by: bde (again)

Correct terminology (partitions are in slices, not the other way around)


# 58343e4c 11-Sep-1998 Greg Lehey <grog@FreeBSD.org>

Reviewed by: bde,jkh

Add -v flag to newfs:

-v Specify that the partition does not contain any slices, and that
newfs should treat the whole partition as the file system. This
option is useful for synthetic disks such as ccd and vinum.


# 27750b35 15-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Add prototypes. Check malloc() return value. Use err(). Remove unused #includes
Do not \n nor dot terminate syslog()/err() messages. -Wall.


# e72f5a72 26-Apr-1998 Poul-Henning Kamp <phk@FreeBSD.org>

Add warning about root-fs blocksize expectations.
PR: 4485
Reviewed by: phk
Submitted by: Kees Jan Koster <kjk1@ukc.ac.uk>


# e83b2033 23-Nov-1997 David E. O'Brien <obrien@FreeBSD.org>

Fix syntax error for the mount_mfs example.
Also update to a more realistic example.


# b5aa5604 04-May-1997 Eivind Eklund <eivind@FreeBSD.org>

Fix typo.
PR: Closes PR docs/3488
Submitted by: k-horik@yk.rim.or.jp


# 75e29411 10-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Merge from Lite2:
- use new getvfsbyname() and mount(2) interface (mount_mfs)
- use new fs include files
- updated inode / cg layout calculations (?)


# 21c7bd78 06-Feb-1997 Mike Pritchard <mpp@FreeBSD.org>

Replace "mfs" with "mount_mfs" in the NAME section.


# 13bbf3d1 25-Dec-1996 Wolfram Schneider <wosch@FreeBSD.org>

Add example for mount_mfs(8).


# 215afc25 14-Dec-1996 Mike Pritchard <mpp@FreeBSD.org>

Update the newfs(8) man page to reflect current
default values for some options better. Closes PR# 1374.


# b7999b51 15-Oct-1996 Bruce Evans <bde@FreeBSD.org>

Second try: attempt to import Lite2's newfs.


# e71057d8 29-Jan-1996 Mike Pritchard <mpp@FreeBSD.org>

Fix a bunch of spelling errors.


# e3618573 21-Jan-1996 Mike Pritchard <mpp@FreeBSD.org>

Change the reference to format(8) (which we don't have) to fdformat(1) and
scsiformat(8) (which we do have). Closes PR# 663.


# 55abc579 05-Feb-1995 Poul-Henning Kamp <phk@FreeBSD.org>

Change the defaults for newfs to disregard the geometry in the disklabel.

We pretend we have one head with two megabyte worth of sectors per cylinder.

The code try to access another head in what it belives to the same
physical cylinder, because it belives that it would be faster than
waiting for the next free sector under this head to come around.

Most modern drives doesn't have a "classical" geometry, and thus
we end up fooling ourselves doing the above optimization. With this
change we will fill a cylinder sequentially if we can, and thus get
much more mileage from the track-buffer/cache built into the drives.

As a result a lot of seeks to the next or previous track should be
avoided by this.

(My disk is a lot less noisy actually...)

You can still get the old behaviour, by specifying zero for the
numbers.

This will also solve the problem with newfs barfing at really big
drives.

Obtained from: adult advice from Kirk.


# 72ab19ae 12-Oct-1994 Poul-Henning Kamp <phk@FreeBSD.org>

Added '-F file' option of mount_mfs. This allows me to make floppy images
without waiting for my floppy-drive all the time :-) Might have other
interesting uses too.


# 3156bbb2 09-Oct-1994 David Greenman <dg@FreeBSD.org>

Backed out part of the last change that prevents the rpos table from
being output if <= 1 rpos; there is a bug in the kernel which doesn't
quite get along with this. Changed default #rpos to 1, and fixed up
manual page. Converted nrpos to 1 if user specifies 0.


# 56499741 01-Oct-1994 David Greenman <dg@FreeBSD.org>

Fixed manpage to conform to current reality.

Submitted by: Rod Grimes, with additional sentence by me.


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.