#
a3165d16 |
| 07-Apr-2003 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
Avoid a name conflict with future functionality:
getfstab() -> dump_getfstab()
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
1f6a4631 |
| 23-Feb-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort options.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
be013c3a |
| 13-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
really, this time for sure. Fix formatting in usage().
|
#
f2dddb66 |
| 13-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
Grr. I keep forgetting things. Include -C in dump's usage() .
|
#
ea8123f9 |
| 13-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
Add support for obsolete option form for -C
|
#
5941e412 |
| 13-Jan-2003 |
Matthew Dillon <dillon@FreeBSD.org> |
Add a caching option to dump. Use -C. Note that NetBSD has a caching option called -r but it takes 512 byte blocks instead of megabytes, and I felt a megabytes specification would be far more usefu
Add a caching option to dump. Use -C. Note that NetBSD has a caching option called -r but it takes 512 byte blocks instead of megabytes, and I felt a megabytes specification would be far more useful so I did not use the same option character.
This will *greatly* improve dump performance at the cost of possibly missing filesystem changes that occur between passes, and does a fairly good job making up for the loss of buffered block devices. Caching is disabled by default to retain historical behavior.
In tests, dump performance improved by about 40% when dumping / or /usr.
Beware that dump forks and the cache may wind up being larger then you specify, but a more complex shared memory implementation would not produce results that are all that much better so I kept it simple for now.
MFC after: 3 days
show more ...
|
#
194a6667 |
| 03-Dec-2002 |
Kirk McKusick <mckusick@FreeBSD.org> |
Add the `L' option to dump to notify it that it is dumping a live filesystem. To obtain a consistent dump image, dump takes a snapshot of the filesystem and then does a dump of the snapshot. The snap
Add the `L' option to dump to notify it that it is dumping a live filesystem. To obtain a consistent dump image, dump takes a snapshot of the filesystem and then does a dump of the snapshot. The snapshot is removed when the dump is complete.
Also add an operator warning that the `L' option should be used if dump is run on a live filesystem without the `L' option being specified. The alternative would be to silently use a snapshot any time that a live filesystem is dumped, but this change in dump semantics seemed too drastic at this time.
Sponsored by: DARPA & NAI Labs. Approved by: re
show more ...
|
#
ada981b2 |
| 27-Nov-2002 |
Kirk McKusick <mckusick@FreeBSD.org> |
Create a new 32-bit fs_flags word in the superblock. Add code to move the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused f
Create a new 32-bit fs_flags word in the superblock. Add code to move the old 8-bit fs_old_flags to the new location the first time that the filesystem is mounted by a new kernel. One of the unused flags in fs_old_flags is used to indicate that the flags have been moved. Leave the fs_old_flags word intact so that it will work properly if used on an old kernel.
Change the fs_sblockloc superblock location field to be in units of bytes instead of in units of filesystem fragments. The old units did not work properly when the fragment size exceeeded the superblock size (8192). Update old fs_sblockloc values at the same time that the flags are moved.
Suggested by: BOUWSMA Barry <freebsd-misuser@netscum.dyndns.dk> Sponsored by: DARPA & NAI Labs.
show more ...
|
Revision tags: release/4.7.0_cvs |
|
#
4fb133ad |
| 01-Oct-2002 |
Bruce Evans <bde@FreeBSD.org> |
Changed "file system" back to "filesystem" in the usage message. English rules don't apply to tokens that are supposed to represent single args. This was only fixed in the man page.
Fixed other dif
Changed "file system" back to "filesystem" in the usage message. English rules don't apply to tokens that are supposed to represent single args. This was only fixed in the man page.
Fixed other differences between the man page and the usage message (1 formatting bug and 1 syntax bug).
show more ...
|
#
89fdc4e1 |
| 25-Sep-2002 |
Mike Barcroft <mike@FreeBSD.org> |
Use the standardized CHAR_BIT constant instead of NBBY in userland.
|
#
ce66ddb7 |
| 21-Aug-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
s/filesystem/file system/g as discussed on -developers
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1 |
|
#
617dbd3c |
| 08-Jul-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Replace the use of %qd with intmax_t/%jd and fix a number of -Wall and -Wformat warnings: o Include timeconv.h for the time conversion functions. o Remove unused variables. o Correct a few cases w
Replace the use of %qd with intmax_t/%jd and fix a number of -Wall and -Wformat warnings: o Include timeconv.h for the time conversion functions. o Remove unused variables. o Correct a few cases where %d was used when printing longs.
show more ...
|
Revision tags: release/4.6.0_cvs |
|
#
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
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>
show more ...
|
#
3468b317 |
| 16-May-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
more file system > filesystem
|
#
75766e17 |
| 12-May-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Sigh, more BBSIZE related breakage.
Sponsored by: DARPA & NAI Labs.
|
#
2db673ab |
| 20-Mar-2002 |
Warner Losh <imp@FreeBSD.org> |
o remove __P o Use ANSI function definitions o unifdef -D__STDC__
|
#
9ac0768d |
| 01-Mar-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Add a new "-S" flag to dump to allow it just print out dump estimate size and then exit.
PR: bin/35450 Submitted by: Mark Hannon <markhannon@optushome.com.au> Obtained from: NetBSD MFC after: 1 week
|
#
2bb823d2 |
| 16-Feb-2002 |
Ian Dowse <iedowse@FreeBSD.org> |
Supply progress information in dump's process title, which is useful for monitoring automated backups. This is based on a patch by Mikhail Teterin, with some changes to make its operation clearer and
Supply progress information in dump's process title, which is useful for monitoring automated backups. This is based on a patch by Mikhail Teterin, with some changes to make its operation clearer and to update the proctitle more frequently.
PR: bin/32138
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
170ac683 |
| 20-Jan-2002 |
Matthew Dillon <dillon@FreeBSD.org> |
I've been meaning to do this for a while. Add an underscore to the time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are st
I've been meaning to do this for a while. Add an underscore to the time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
show more ...
|
#
d2334e27 |
| 17-Nov-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Zap a number of #ifdef sunos blocks, and all of the `register' keywords.
|
#
a50e99d1 |
| 16-Nov-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Give a sensible error message when the filesystem to be dumped is not listed in /etc/fstab. Previously, the user would be greeted with "DUMP: bad sblock magic number" when dump tried to parse the dir
Give a sensible error message when the filesystem to be dumped is not listed in /etc/fstab. Previously, the user would be greeted with "DUMP: bad sblock magic number" when dump tried to parse the directory contents as an FFS filesystem.
PR: bin/12789 Submitted by: Bob Willcox <bob@pmr.com>
show more ...
|
#
5b3817c6 |
| 28-Oct-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Make the protocol/dumprestore.h header match restore's idea of the dump header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding
Make the protocol/dumprestore.h header match restore's idea of the dump header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t.
Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t.
show more ...
|
#
4a315a9a |
| 05-Sep-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
SECURITY.
Notify operators using wall(1)'s -g option. Drop ``setgid tty'' privilege.
Obtained from: OpenBSD MFC after: 1 month
|
#
988d64c2 |
| 09-Jul-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Add manual page and usage for dump -D (supplied by Dima Dorfman) (will also be MFC'd)
Submitted by: Dima Dorfman <dima@unixfreak.org>
|
#
cedae1f4 |
| 08-Jul-2001 |
Matthew Dillon <dillon@FreeBSD.org> |
Oops, forgot to add 'D' to the option morphing block.
|