History log of /freebsd-10.1-release/sbin/growfs/debug.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 259223 11-Dec-2013 pfg

MFC r256448, r257029;

Make di_blocks unsigned in UFS1 as is the case already for UFS2.
Most of the code between UFS1 and UFS2 is shared so this change
is pretty safe. Not only this makes UFS1 and 2 consistent but it
also matches what NetBSD and MacOS X have for some years now.

UFS2: make di_extsize unsigned.
di_extsize is the EA size and as such it should be unsigned.
Adjust related types for consistency.

Reviewed by: mckusick


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 234312 15-Apr-2012 trasz

Remove FSIRAND and FSMAXSWAP ifdefs, removing code unconditionally.

Reviewed by: kib, mckusick
Sponsored by: The FreeBSD Foundation


# 232548 05-Mar-2012 trasz

Make growfs(8) mostly style compliant. No functional changes,
verified with MD5.


# 215704 22-Nov-2010 brucec

Fix some more warnings found by clang.


# 163844 31-Oct-2006 pjd

Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag.

Sponsored by: home.pl


# 127798 03-Apr-2004 le

Make growfs WARNS=6 clean.

Approved by: grog (mentor)


# 118915 14-Aug-2003 rwatson

Commit 1 of 2 to fix ffsinfo(8) for UFS2.

Add support for UFS2 to the UFS debugging routines in growfs; required
to update ffsinfo(8) for UFS2. A variety of types and fs variables are
renamed to reflect UFS1/2 structures. Also, the print routines for
inodes are now split into separate UFS1 and UFS2 versions. We now
define dbg_dump_csum_total(), but lose the printing of rotational
information since that's not present in UFS2. In the future, we may
want to re-add this functionality to print it solely for UFS1.

Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
PR: bin/53517


# 103949 25-Sep-2002 mike

Use the standardized CHAR_BIT constant instead of NBBY in userland.


# 102231 21-Aug-2002 trhodes

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


# 92743 20-Mar-2002 rwatson

Teach growfs's dbg_open() that a filename of "-" for output means to
open "/dev/stdout". This doesn't actually affect growfs, but does affect
ffsinfo, permitting ffsinfo to output to the shell's stdout rather than
requiring it be dumped to a file or explicitly pointed at a special
device.

Reviewed by: peter


# 81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


# 77885 07-Jun-2001 tomsoft

cleanup to get rid of most warnings on alpha
and yes now it also works on alpha

Reviewed by: chm
MFC after: 3 weeks


# 69926 12-Dec-2000 tomsoft

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


# 69800 09-Dec-2000 tomsoft

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

Reviewed by: grog