#
50c603c4 |
| 29-Mar-2012 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Remove disklabel handling code from growfs. This should be done via geom_part(4), and it doesn't belong in growfs anyway.
Reviewed by: kib, mckusick Sponsored by: The FreeBSD Foundation
|
#
8f061f61 |
| 12-Mar-2012 |
Dimitry Andric <dim@FreeBSD.org> |
After r232548, clang complains about the apparent '=-' operator (a left-over from ancient C times, and a frequent typo) in growfs.c:
sbin/growfs/growfs.c:1550:8: error: use of unary operator that ma
After r232548, clang complains about the apparent '=-' operator (a left-over from ancient C times, and a frequent typo) in growfs.c:
sbin/growfs/growfs.c:1550:8: error: use of unary operator that may be intended as compound assignment (-=) [-Werror] blkno =- 1; ^~
Use 'blkno = -1' instead, to silence the error.
show more ...
|
#
867099fa |
| 08-Mar-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head up to r232685 to projects/pf/head.
|
#
a1da0740 |
| 05-Mar-2012 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make growfs(8) mostly style compliant. No functional changes, verified with MD5.
|
#
8fa0b743 |
| 23-Jan-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @230489 (pending review).
|
#
11dc4806 |
| 17-Jan-2012 |
Ed Schouten <ed@FreeBSD.org> |
Allow growfs to be built with GCC 4.7 and -Werror.
The dp1 variable is only used when FSIRAND is defined. Just place the variable behind #ifdefs entirely.
|
Revision tags: release/9.0.0 |
|
#
3ee1a36e |
| 22-Nov-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r227804
Pull in the virtio drivers from head.
|
#
1efe3c6b |
| 04-Nov-2011 |
Ed Schouten <ed@FreeBSD.org> |
Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or wit
Add missing static keywords for global variables to tools in sbin/.
These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
show more ...
|
#
935205e2 |
| 17-Jul-2011 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Integrate from Head into ZFSD feature branch as of revision r224141.
|
#
23300944 |
| 30-Jun-2011 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r223696 to pick up dfr's userboot
|
#
fd9f4609 |
| 29-Jun-2011 |
Attilio Rao <attilio@FreeBSD.org> |
MFC
|
#
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.
|
#
9b571ec6 |
| 22-Jun-2011 |
Attilio Rao <attilio@FreeBSD.org> |
MFC
|
#
b2168df8 |
| 22-Jun-2011 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Cosmetic fixes; mostly s/file system/filesystem/g and removing weird indent from messages.
|
#
974206cf |
| 23-Feb-2011 |
Rebecca Cran <brucec@FreeBSD.org> |
Fix typos - remove duplicate "is".
PR: docs/154934 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
#
ea6de5ee |
| 22-Jan-2011 |
Marcel Moolenaar <marcel@FreeBSD.org> |
s/utime/modtime/g -- utime shadows utime(3).
Submitted by: Garrett Cooper
|
#
e29560ac |
| 20-Sep-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the pointer and GCC does not know that the pointer
Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the pointer and GCC does not know that the pointer is adequately aligned (due to malloc(3)), and warns about it. Cast to (void *) first to by-pass the check.
show more ...
|
#
1ad5f80f |
| 19-Sep-2010 |
Brian Somers <brian@FreeBSD.org> |
Revise r197763 which fixes filesystem corruption when extending into un-zeroed storage.
The original patch was questioned by Kirk as it forces the filesystem to do excessive work initialising inodes
Revise r197763 which fixes filesystem corruption when extending into un-zeroed storage.
The original patch was questioned by Kirk as it forces the filesystem to do excessive work initialising inodes on first use, and was never MFC'd. This change mimics the newfs(8) approach of zeroing two blocks of inodes for each new cylinder group.
Reviewed by: mckusick MFC after: 3 weeks
show more ...
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
#
40df9792 |
| 17-Mar-2010 |
Gavin Atkinson <gavin@FreeBSD.org> |
Merge r203835 from head:
When growing a UFS1 filesystem, we need to initialise all inodes in any new cylinder groups that are created. When the filesystem is first created, newfs always initi
Merge r203835 from head:
When growing a UFS1 filesystem, we need to initialise all inodes in any new cylinder groups that are created. When the filesystem is first created, newfs always initialises the first two blocks of inodes, and then in the UFS1 case will also initialise the remaining inode blocks. The changes in growfs.c 1.23 broke the initialisation of all inodes, seemingly based on this implementation detail in newfs(8). The result was that instead of initialising all inodes, we would actually end up initialising all but the first two blocks of inodes. If the filesystem was grown into empty (all-zeros) space then the resulting filesystem was fine, however when grown onto non-zeroed space the filesystem produced would appear to have massive corruption on the first fsck after growing. A test case for this problem can be found in the PR audit trail.
Fix this by once again initialising all inodes in the UFS1 case.
PR: bin/115174 Submitted by: "Nate Eldredge" <nge cs.hmc.edu> Reviewed by: mjacob
show more ...
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
4179ce18 |
| 26-Feb-2010 |
Kirk McKusick <mckusick@FreeBSD.org> |
MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784.
These fixes correct a problem in the file system that treats large inode numbers as negative rather than unsigned. For a default (1
MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784.
These fixes correct a problem in the file system that treats large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb.
These fixes also update newfs to ensure that it will never create a filesystem with more than 2^32 inodes.
They also update libufs, tunefs, and growfs so that they properly handle inode numbers as unsigned.
Reported by: Scott Burns, John Kilburg, and Bruce Evans Followup by: Jeff Roberson PR: 133980
show more ...
|
#
08f353eb |
| 13-Feb-2010 |
Gavin Atkinson <gavin@FreeBSD.org> |
When growing a UFS1 filesystem, we need to initialise all inodes in any new cylinder groups that are created. When the filesystem is first created, newfs always initialises the first two blocks of i
When growing a UFS1 filesystem, we need to initialise all inodes in any new cylinder groups that are created. When the filesystem is first created, newfs always initialises the first two blocks of inodes, and then in the UFS1 case will also initialise the remaining inode blocks. The changes in growfs.c 1.23 broke the initialisation of all inodes, seemingly based on this implementation detail in newfs(8). The result was that instead of initialising all inodes, we would actually end up initialising all but the first two blocks of inodes. If the filesystem was grown into empty (all-zeros) space then the resulting filesystem was fine, however when grown onto non-zeroed space the filesystem produced would appear to have massive corruption on the first fsck after growing. A test case for this problem can be found in the PR audit trail.
Fix this by once again initialising all inodes in the UFS1 case.
PR: bin/115174 Submitted by: Nate Eldredgei nge cs.hmc.edu Reviewed by: mjacob MFC after: 1 month
show more ...
|
#
14a176a0 |
| 11-Feb-2010 |
Kirk McKusick <mckusick@FreeBSD.org> |
Quiet spurious warnings.
|
#
86aedb09 |
| 02-Feb-2010 |
Gavin Atkinson <gavin@FreeBSD.org> |
Merge r201401 from head:
Remove dead code. This section of code is only run in the (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the loop is redundant.
PR: bin/115174 (partly
Merge r201401 from head:
Remove dead code. This section of code is only run in the (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the loop is redundant.
PR: bin/115174 (partly) Submitted by: Nate Eldredge nge cs.hmc.edu Reviewed by: mjacob Approved by: ed (mentor, implicit)
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|