Home | History | Annotate | Download | only in dump
History log of /src/sbin/dump/Makefile
RevisionDateAuthorComments
 1.43  03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.42  03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.41  06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.40  13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.39  10-Aug-2012  joerg branches: 1.39.32;
Don't depend on HAVE_GCC being always defined.
 1.38  07-Apr-2012  christos use getfsspecname()
 1.37  20-Jun-2011  mrg branches: 1.37.2;
remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
 1.36  11-Apr-2009  lukem branches: 1.36.4;
Enable WARNS=4 by default except for:
dump dump_lfs fsck_ffs fsck_lfs fsdb mount_smbfs
newfs_ext2fs newfs_lfs resize_lfs setkey
 1.35  29-Aug-2008  gmcgarry branches: 1.35.4;
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
 1.34  10-Aug-2008  simonb Remove adding -g to CFLAGS and LDFLAGS. Ancient debug bogon?
 1.33  11-May-2006  mrg branches: 1.33.20; 1.33.24;
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
 1.32  19-Apr-2005  hannken Snapshot support for dump(8):

- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
The snapshot will be deleted on exit.

- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
file system to be dumped.

Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>
 1.31  02-Apr-2003  fvdl branches: 1.31.6;
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
 1.30  27-Mar-2003  lukem Use "wall -g operator" (instead of private code) to broadcast() messages to
members of the operator group.
Don't install "setgid tty", and remove now unnecessary gid/egid swapping.
Remove utmp trawling code pulled in from usr.bin/who.
The Code is now simpler, and more portable (without the utmp cruft) too.

This is derived from similar work in OpenBSD.
 1.29  19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
 1.28  02-Aug-2002  christos support utmpx
 1.27  25-Dec-2001  lukem document more of the debug options
 1.26  23-Dec-2001  lukem nuke trailing whitespace
 1.25  01-Oct-1999  perseant Working version of aborted dump{,_lfs} join.
 1.24  30-Sep-1999  perseant Back out changes made on the 29th, not at all the changes I intended to commit.
(I don't know how I did it though ... I'll figure it out tonight.)
I'll reapply this, in a working form, this evening.
 1.23  29-Sep-1999  perseant Adapt dump(8) to use filestore-independent (but still ufs-specific)
replacements for NINDIR, fsbtodb, etc. Create dump_lfs by adding a few
LFS-filestore-specific routines. As described in PR#8317.
 1.22  23-Mar-1999  bouyer branches: 1.22.4;
Implement a read cache, as announced on tech-userlevel. Default is 32k
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
 1.21  09-Mar-1999  bouyer Handle "nodump" flag on directories, by not dumping any files or directories
under it. Based on some parts of PR 6705 by Brian Grayson.
In the Makefile, add (commented out) debug options that can be turned on.
 1.20  15-Jan-1999  bouyer #include machine/bswap.h and remove -lutil.
 1.19  18-Mar-1998  bouyer Add support for non-native byte order FFS. The dump is in filesystem byte
order, restore already knows how to byteswap dumps.
 1.18  10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.17  27-May-1997  mrg enable rcmd(). garbage collect.
 1.16  18-Mar-1995  cgd branches: 1.16.4;
convert to new RCS Id conventions; reduce my headache
 1.15  22-Dec-1994  cgd specify man pages the new way.
 1.14  08-Jun-1994  mycroft Update from 4.4-Lite, with local changes.
 1.13  22-Dec-1993  cgd new version from CSRG, via BSDI, with fixes
 1.12  14-Nov-1993  cgd from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
Some reordering and modifications in the Makefiles for sh, dump,
restore to get dependicies right. The README in /usr/share/mk
states that it's a Bad Thing(tm) to add something after
.include <bsd.prog.mk>, but this seems the only way to get the
dependencies right.
 1.11  12-Nov-1993  cgd oops again; fix that last
 1.10  12-Nov-1993  cgd oops; fix that last
 1.9  12-Nov-1993  cgd add LDSTATIC
 1.8  01-Aug-1993  mycroft Add RCS identifiers.
 1.7  18-Jul-1993  mycroft Use ${COPY}, not -c for install.
 1.6  18-Apr-1993  mycroft Okay, so I was confused (but only a little).
 1.5  18-Apr-1993  mycroft Make rdump target match normal program target.
(This should probably be in a separate directory, no?)
 1.4  08-Apr-1993  cgd make install copy
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  13-Jun-1994  mycroft Import 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16.4.1  17-Feb-1997  mrg this program is not setuid in the new-rcmd-world-order
 1.22.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.31.6.1  21-Apr-2005  tron Pull up revision 1.32 (requested by hannken in ticket #184):
Snapshot support for dump(8):
- New option `-x backup' takes the dump from a snapshot backed up by `backup'.
The snapshot will be deleted on exit.
- New option `-X' as a synonym for `-x mountpoint' where `mountpoint' is the
file system to be dumped.
Reviewed and Approved by: Manuel Bouyer <bouyer@netbsd.org>
 1.33.24.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.33.20.1  28-Sep-2008  mjf Sync with HEAD.
 1.35.4.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.36.4.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.37.2.2  30-Oct-2012  yamt sync with head
 1.37.2.1  17-Apr-2012  yamt sync with head
 1.39.32.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed