#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
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
|
#
247234 |
|
24-Feb-2013 |
pluknet |
Catch up with internal API changes for initbarea() and getdatablk() of fsck_ffs introduced with r247212.
Submitted by: David Wolfskill <david@catwhisker.org>
|
#
246823 |
|
15-Feb-2013 |
pluknet |
Remove write only assignments and thus fix the build after struct bufarea TAILQ conversion (r246812).
|
#
241013 |
|
27-Sep-2012 |
mdf |
Fix sbin/ build with a 64-bit ino_t.
Original code by: Gleb Kurtsou
|
#
232749 |
|
09-Mar-2012 |
dim |
Partially undo r228693, by removing NO_WFORMAT.clang in fsdb's Makefile, and fixing the format string in sbin/fsdb/fsdbutil.c instead.
Note the remark "Work around a problem with format string warnings and ntohs macros" was actually incorrect. The DIP(dp, di_nlink) macro invocation actually returned an int, due to its ternary expression, even though the di_nlink members of struct ufs1_dinode and struct ufs2_dinode are both defined as int16_t.
MFC after: 2 weeks
|
#
231102 |
|
06-Feb-2012 |
truckman |
Improve sparse file handling when printing the block list for an inode by not bailing out early when a hole is encountered in the direct block list. Print NULL block pointers in the direct block list. Simplify the code that prints the fragment count.
Match the style of the existing code.
Reviewed by: mckusick MFC after: 1 week
|
#
228693 |
|
18-Dec-2011 |
dim |
Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.
MFC after: 1 week
|
#
228603 |
|
16-Dec-2011 |
dim |
In sbin/fsdb/fsdbutil.c, work around a clang false positive with printf format warnings and conditional operators. (See LLVM PR 11313 for more information.)
MFC after: 1 week
|
#
225847 |
|
28-Sep-2011 |
ed |
Get rid of major/minor number distinction.
As of FreeBSD 6, devices can only be opened through devfs. These device nodes don't have major and minor numbers anymore. The st_rdev field in struct stat is simply based a copy of st_ino.
Simply display device numbers as hexadecimal, using "%#jx". This is allowed by POSIX, since it explicitly states things like the following (example taken from ls(1)):
"If the file is a character special or block special file, the size of the file may be replaced with implementation-defined information associated with the device in question."
This makes the output of these commands more compact. For example, ls(1) now uses approximately four columns less. While there, simplify the column length calculation from ls(1) by calling snprintf() with a NULL buffer.
Don't be afraid; if needed one can still obtain individual major/minor numbers using stat(1).
|
#
207141 |
|
24-Apr-2010 |
jeff |
- Merge soft-updates journaling from projects/suj/head into head. This brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown.
Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
|
#
161558 |
|
23-Aug-2006 |
ceri |
Allow fsdb to manipulate the birthtime entries on UFS2.
Approved by: jhb MFC after: 1 month
|
#
157950 |
|
21-Apr-2006 |
maxim |
o Do recrack(arguments) for commands which actually take NAME as arguments so we do not coredump at "help foo", "back bar" and such.
o Be consistent and print argc - 1 as a command arguments number in all cases.
PR: bin/37096 Submitted by: Joshua Goodall MFC after: 1 month
|
#
122621 |
|
13-Nov-2003 |
johan |
Make this WARNS=2 clean by - #include <timeconv.h> for _time_to_time32 et al - use (uintmax_t) and %j - remove unused variable 'j' (from PR 39866)
PR: 39866 Submitted by: Dan Lukes <dan@obluda.cz> Tested by: make universe
|
#
98542 |
|
21-Jun-2002 |
mckusick |
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>
|
#
92881 |
|
21-Mar-2002 |
imp |
o __P removal. o ansi function definitions. o main prototype removal o unifdef __STDC__
|
#
89827 |
|
26-Jan-2002 |
joerg |
Something i always wanted to see: add a function to print the list of blocks allocated by some inode. Indirect blocks are printed recursively, so beware :), the list could become lengthy... (We should probably add some output pager to fsdb.)
MFC after: 1 month
|
#
89792 |
|
25-Jan-2002 |
green |
Remove a not-very-useful printf(3).
|
#
89791 |
|
25-Jan-2002 |
green |
Allow fsdb the ability to work with entries named with whitespace embedded.
This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line.
Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry.
|
#
74652 |
|
22-Mar-2001 |
roberto |
Respect style(9), one must not include both <sys/types.h> and <sys/param.h> (the latter includes the former).
Submitted by: bde
|
#
74594 |
|
21-Mar-2001 |
alfred |
Include headers to unbreak world.
Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
|
#
59869 |
|
01-May-2000 |
asmodai |
Remove unused includes.
|
#
50476 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
37237 |
|
28-Jun-1998 |
bde |
Fixed printf format errors.
|
#
37001 |
|
15-Jun-1998 |
charnier |
Correct use of .Nm. Use .Bl/.El for enumerating options. Use .An. Correct formatting of rcsid. Remove unused #includes. Do not use memory after freeing it.
|
#
23854 |
|
13-Mar-1997 |
bde |
Fixed bogus casts from (int32_t *) to (time_t *).
|
#
23839 |
|
13-Mar-1997 |
peter |
Missing $Id$
|
#
23838 |
|
13-Mar-1997 |
peter |
Make this compile. Mostly use the new names for the ctime/atime/mtime stamps in the inodes and call one of fsck's utility funcs with a new arg.
|
#
18406 |
|
20-Sep-1996 |
nate |
ts_sec -> tv_sec ts_nsec -> tv_nsec
|
#
12051 |
|
03-Nov-1995 |
peter |
Commit FreeBSD-specific changes. Mainly to do with structure layout differences that we dont have.
|
#
12049 |
|
03-Nov-1995 |
peter |
This commit was generated by cvs2svn to compensate for changes in r12048, which included commits to RCS files with non-trunk default branches.
|
#
12048 |
|
03-Nov-1995 |
peter |
Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.
Obtained from: NetBSD
|