Revision tags: release/11.0.1, release/11.0.0 |
|
#
f32d2926 |
| 01-May-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sbin: ake use of our rounddown() macro when sys/param.h is available.
No functional change.
|
#
4c8762f0 |
| 19-Apr-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
dump: use NULL instead of zero for pointers.
Clean out the casts from calloc(3) while here.
|
Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
80dbff4e |
| 04-Jan-2012 |
Sean Bruno <sbruno@FreeBSD.org> |
IFC to head to catch up the bhyve branch
Approved by: grehan@
|
#
b3608ae1 |
| 03-Jan-2012 |
Ed Schouten <ed@FreeBSD.org> |
Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revisi
Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
show more ...
|
Revision tags: release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
7649cb00 |
| 24-Jan-2011 |
Kirk McKusick <mckusick@FreeBSD.org> |
The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This c
The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h.
The commit also includes some minor style(9) header fixup in newfs.
This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant.
Submitted by: Garrett Cooper yanegomi at gmail dot com
show more ...
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
#
6e064db9 |
| 05-Mar-2010 |
Xin LI <delphij@FreeBSD.org> |
MFC r203459:
Plug two memory leaks in error case.
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
80ca1f34 |
| 04-Feb-2010 |
Xin LI <delphij@FreeBSD.org> |
Plug two memory leaks in error case.
MFC after: 1 month
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
f72ab793 |
| 24-May-2008 |
Kirk McKusick <mckusick@FreeBSD.org> |
Expand dump to allow MAX_INT dump levels.
PR: bin/100732 Submitted by: Matthew Vincenz <msvincen@midway.uchicago.edu>
|
#
693c40a3 |
| 24-May-2008 |
Kirk McKusick <mckusick@FreeBSD.org> |
When using dump to generate level 0 dumps which are then rsync'ed to a remote machine, the fact that the dump date is stored with each header (inode) record makes rsync significantly less efficient t
When using dump to generate level 0 dumps which are then rsync'ed to a remote machine, the fact that the dump date is stored with each header (inode) record makes rsync significantly less efficient than necessary. This also applies to inode access times when they are not important data to retain. When implementing an offsite backup solution of this type, these dates in particular are not important, especially if it prevents effective offsite backups.
PR: bin/91049 Submitted by: Forrest W Christian <fwc@mt.net>
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0 |
|
#
ef4e7805 |
| 12-Oct-2006 |
Ruslan Ermilov <ru@FreeBSD.org> |
Make "dump /filesystem" (without options) work.
PR: docs/84408 MFC after: 3 days
|
#
90bdcf6b |
| 15-Aug-2006 |
Matt Jacob <mjacob@FreeBSD.org> |
If rawname returns NULL, deal with it appropriately.
PR: 94045 Submitted by: Andrey Elsukov MFC after: 1 week
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0 |
|
#
f8aa7a83 |
| 18-Apr-2005 |
Warner Losh <imp@FreeBSD.org> |
'r' disk devices no longer exist, so don't try to create a pathname that has an 'r' in it.
This also eliminates a bogus use of strlcat. PR: 80064
|
#
8d646af5 |
| 10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
73e31afa |
| 21-Jan-2005 |
Wes Peters <wes@FreeBSD.org> |
Improved error checking for existence of a .snap directory to generate snapshots in when -L is requested. If the .snap directory does not exist, or is not a directory, issue a warning and revert to
Improved error checking for existence of a .snap directory to generate snapshots in when -L is requested. If the .snap directory does not exist, or is not a directory, issue a warning and revert to the non- live behavior.
Obtained from: St. Bernard Software RAPID
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
c51d70c6 |
| 13-Apr-2004 |
Brian Feldman <green@FreeBSD.org> |
Add -P arguments for dump(8) and restore(8) which allow the user to use backup methods other than files and tapes. The -P argument is a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOL
Add -P arguments for dump(8) and restore(8) which allow the user to use backup methods other than files and tapes. The -P argument is a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME defined in the environment, respectively.
For example, I can back up my home to three DVD+R[W]s as so: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s2e 40028550 10093140 26733126 27% /home green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home
show more ...
|
#
f7c7b87f |
| 12-Apr-2004 |
Brian Feldman <green@FreeBSD.org> |
Improve the warnings for dump -L and do not bother doing the snapshot if it is specified for read-only filesystems.
Submitted by: Jason Young <jyoung8607@hotmail.com> PR: 46672
|
#
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
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
6e3aaeb2 |
| 04-Jan-2004 |
Ian Dowse <iedowse@FreeBSD.org> |
Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assuming that mksnap_ffs(8) can be found using the current $PATH.
Reviewed by: mckusick
|
#
d46b5285 |
| 16-Nov-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Convert the live dump command (`dump -L') to use mksnap_ffs instead of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps.
N
Convert the live dump command (`dump -L') to use mksnap_ffs instead of trying to directly create the snapshot itself. This change allows users logged into the system as operator to run live dumps.
Note that dump no longer tries to create the snapshot in the root of the filesystem, but rather in a .snap directory in the root of the filesystem. The reason is that the operator is usually not permitted to write into the root of the filesystem. The newfs command and background fsck have both been modified to create a .snap directory in the root of the filesystem, but if neither of these have been run, then the .snap directory must be created manually by the superuser before a live dump can be run. The .snap directory should be owned by user root and group operator and set to mode 770.
show more ...
|
#
8a0453d6 |
| 14-Nov-2003 |
Johan Karlsson <johan@FreeBSD.org> |
Make this WARNS=2 clean by - using (intmax_t) and %j - giving a non-empty format string to msg()
Include <stdint.h> directly instead of depending on <inttypes.h> to do it.
Tested by: make universe
|
Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
#
924a7003 |
| 07-May-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Dump is hard-wired to believe that it can read disks on 1024-byte boundaries. For many years this was a reasonable assumption. However, in recent years we have begun seeing devices with 2048-byte sec
Dump is hard-wired to believe that it can read disks on 1024-byte boundaries. For many years this was a reasonable assumption. However, in recent years we have begun seeing devices with 2048-byte sectors. These devices return errors when dump tries to read starting in the middle of a sector or when it tries to read only the first half of a sector. Rather than change the native block size used by dump (and thus create an incompatible dump format), this fix checks for transfer requests that start and/or end on a non-sector boundary. When such a read is detected, the new code reads the entire sector and copies out just the part that dump needs.
Reviewed by: Poul-Henning Kamp <phk@critter.freebsd.dk> Approved by: re (John Baldwin <jhb@FreeBSD.org>) Sponsored by: DARPA & NAI Labs.
show more ...
|
#
44b81f0f |
| 01-May-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
Removed all vestiges of KerberosIV.
|
#
8edde085 |
| 01-May-2003 |
Mark Murray <markm@FreeBSD.org> |
De-Kerberise (KerberosIV). KerberosIV is no longer present, and remote backups can still be done with Kerberos authentication using SSH and Kerberos 5.
|