History log of /freebsd-current/sbin/growfs/growfs.8
Revision Date Author Comments
# 70a0fb43 05-Oct-2023 Mina Galić <freebsd@igalic.co>

growfs: make exit codes more consistent

We have overused err(1), so it's hard to distinguish when an error is
very, very serious, and when it's just a user-error, or even harmless.

This patch changes the current behaviour to distinguish between the
following three:

1 for usage errors
2 for recoverable errors
3 or higher for unrecoverable errors

Reviewed by: jilles, pauamma_gundo.com, des
Differential Revision: https://reviews.freebsd.org/D27161


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

Remove $FreeBSD$: one-line nroff pattern

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


# b8028f9d 06-Apr-2021 John-Mark Gurney <jmg@FreeBSD.org>

add Xr to the rc.d script...


# b8ea5b46 13-Dec-2017 Edward Tomasz Napierala <trasz@FreeBSD.org>

Tone down the description for the growfs "-y" flag.

MFC after: 2 weeks


# e49345fa 10-May-2016 Edward Tomasz Napierala <trasz@FreeBSD.org>

Update the example growfs(8) manual page to include information on how
to make the system "notice" the updated disk size.

(Relnotes, since I've forget to set it for "camcontrol reprobe", and
it's worth mentioning.)

MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation


# 579a4f03 19-Nov-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Uniformly refer to a file system as "file system".

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 85941ebd 19-Nov-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Add example on how to use gpart before growfs. While here, reorder examples
so that the simplest one comes first.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 7550bae5 19-Nov-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Document growfs(8) feature apparently nobody knows about.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# d888bdf6 19-Nov-2014 Edward Tomasz Napierala <trasz@FreeBSD.org>

Use proper ordering in EXAMPLES section in growfs(8).

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# bd0891ce 20-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part1)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


# fbb49182 12-Dec-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Somehow stable/10 branch contains correct version, but head doesn't.


# bb39ffb8 25-Nov-2013 Sergey Kandaurov <pluknet@FreeBSD.org>

Adjust introduction history.
Dump .Dd for this and previous changes.

Discussed with: trasz
MFC after: 3 days


# a8114564 18-Nov-2012 Joel Dahl <joel@FreeBSD.org>

Remove superfluous paragraph macro.


# 2ec1a006 18-Nov-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Make it possible to resize filesystems mounted read-write, using newly
introduced UFS write suspension mechanism.

Reviewed by: kib, mckusick
Sponsored by: FreeBSD Foundation


# cd92c962 12-May-2012 Joel Dahl <joel@FreeBSD.org>

mdoc: remove redundant paragraph macro.


# e35497f1 30-Apr-2012 Edward Tomasz Napierala <trasz@FreeBSD.org>

Improve growfs(8) in a few ways; unfortunately, it's somewhat hard to untangle
them and commit separately.

1. Rewrite the way growfs(8) finds the device and mount point. This makes
it possible to use e.g. "growfs /mnt"; it's also used to display more
helpful messages.

2. Be more user-friendly, using descriptive messages, like this:

OK to grow filesystem on /dev/md0, mounted on /mnt, from 9.8GB to 20GB? [Yes/No]"

3. Allow to specify the size (-s option) just like with mdconfig(8), i.e. with
postfixes ("mdconfig -s 10g").

4. Reload read-only filesystem after growing.

Reviewed by: kib, mckusick (earlier version)
Sponsored by: The FreeBSD Foundation


# 8857bdbc 28-Jun-2011 Edward Tomasz Napierala <trasz@FreeBSD.org>

Revert the mechanical change from 'file system' to 'filesystem', committed
in r223429. As bde@ pointed out, it was mostly backwards.


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

Cosmetic fixes; mostly s/file system/filesystem/g and removing weird indent
from messages.


# 275e1cf7 07-May-2011 Gavin Atkinson <gavin@FreeBSD.org>

We now have multiple filesystems (UFS, ZFS, ...), so for tools that only
operate on one type of filesystem, mention this.
While here, capitalise the use of "UFS" in growfs.8 to match other uses of
the term in other man pages.

MFC after: 1 week


# 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.


# 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.


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

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


# 6087df9e 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# e596d1f1 26-Dec-2004 Joseph Koshy <jkoshy@FreeBSD.org>

Cross-reference ffsinfo(8).


# 1478ed65 23-Jan-2004 Marc Fonvieille <blackend@FreeBSD.org>

Fix bogus "ffsinfo -c 0" example with "ffsinfo -g 0 -l 4".

PR: bin/61472
Submitted by: Alex Popa <razor@ldc.ro>
MFC after: 1 week


# ee8de248 26-Dec-2003 Tom Rhodes <trhodes@FreeBSD.org>

Remove another instance of 'disklabel' which eluded me last time.

Noticed by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)


# df178a1d 23-Dec-2003 Tom Rhodes <trhodes@FreeBSD.org>

s/disklabel/bsdlabel

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)


# 6ff8ac45 17-Jun-2003 Christian Brueffer <brueffer@FreeBSD.org>

Remove references to ffsinfo(8) for now. It was disconnected from
the build almost a year ago.


# 8d5d039f 12-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

Uniformly refer to a file system as "file system".

Approved by: re


# 8cf5e9dd 20-Nov-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Typo fix that I brought in rev 1.16


# b504cef7 29-Aug-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Mention that fdisk(8) should be used to grow the containing slice
before growing partitions with growfs(8), if necessary.

PR: docs/42148
Submitted by: Chris S.J. Peron <maneo@bsdpro.com>


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

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


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

can not -> cannot.


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

The .Nm utility


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

more file system > filesystem


# 9cbb2a40 13-Feb-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Typo fix: Usally -> Usually.

PR: docs/34918
Submitted by: Harry Newton <harry_newton@telinco.co.uk>


# 11658916 06-Feb-2002 Mark Murray <markm@FreeBSD.org>

Minor grammar fixes.


# 8547e8b5 10-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: spelling, punctuation and markup nits.


# 5455cc1a 08-Aug-2001 Christoph Herrmann <chm@FreeBSD.org>

fixing a bug in test mode (growfs -N)

Submitted by: Chris Boltwood <chris@hiendmedia.com>
Reviewed by: tomsoft
MFC after: 5 days


# 86f47875 31-Jul-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

MFS: in HISTORY section, fix release number of first appearance


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

Remove whitespace at EOL.


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

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


# 686e6613 13-Dec-2000 Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>

Fix a logical bug introduced by changing the formatting.

Submitted by: ru
Reviewed by: chm


# f33c0fdd 13-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Mdoc(7)ify.


# 4020c5bc 12-Dec-2000 Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>

corrected spelling mistakes in comments
check a couple of mallocs
usage of errx
linebreaks of DBG_ macros,
correcting the usage of nroff macros

Submitted by: grog, charnier
Reviewed by: chm


# 3d500078 09-Dec-2000 Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>

added growfs(8) including ffsinfo(8) to the freebsd base system

Reviewed by: grog