Up to [local] / src / sbin / newfs_ext2fs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 1 07:17:26 2019 UTC (4 years, 11 months ago) by kevlo
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.17: +8 -8 lines
Diff to previous 1.17 (colored)
Forgot to commit this patch.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 28 18:07:56 2017 UTC (6 years, 9 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
fix clang warning wrt const string and +; from joerg@netbsd; ok millert@
Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 14 20:30:34 2016 UTC (8 years, 2 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.15: +6 -7 lines
Diff to previous 1.15 (colored)
Replace an ad-hoc implementation of opendev(), with said function and open the device only once with the correct flags, instead of twice (one file handle for reading and one for writing). Committing this at once because the changes are interrelated. ok stefan
Revision 1.15 / (download) - annotate - [select for diffs], Tue Jan 26 19:09:57 2016 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)
Remove needless zeroing. Anonymously mapped memory is always zeroed. ok tb@
Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 26 06:59:12 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +4 -8 lines
Diff to previous 1.13 (colored)
Instead, hoist TIOCGWINSZ up to the top, then "tty" pledge is not needed.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:00 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
Revision 1.12 / (download) - annotate - [select for diffs], Sat Sep 27 06:28:45 2014 UTC (9 years, 8 months ago) by doug
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
Fix mmap() calls that check for a result other than MAP_FAILED. ok tedu@
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 31 19:49:25 2014 UTC (9 years, 10 months ago) by pelikan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)
unbreak the build - e2fs_isave now needs the superblock.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 13 16:44:20 2014 UTC (9 years, 10 months ago) by pelikan
Branch: MAIN
Changes since 1.9: +11 -11 lines
Diff to previous 1.9 (colored)
kill fs2hXX/h2fsXX macros with letohXX/htoleXX The reason being that ext2 structures are little-endian but JBD2 journal is big-endian. Don't confuse readers by talking about "file system endian". While here, nuke the copy of bswap.c and link it against the kernel's like fsck_ext2fs has done, for better maintainability. ok guenther
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 13 13:37:22 2014 UTC (9 years, 10 months ago) by pelikan
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
new superblock header needs fixes for BE architectures
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 11 15:16:22 2014 UTC (9 years, 11 months ago) by pelikan
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)
fix dacl->size_hi header change
Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 22 00:22:41 2014 UTC (10 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)
Convert a malloc(x*y)+memset to calloc(x,y) From Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 27 19:17:28 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.5: +5 -2 lines
Diff to previous 1.5 (colored)
from netbsd, free(bbp) in error paths. Coverity CID 274748. via Loganaden Velvindron
Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 17 03:33:13 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.4: +12 -12 lines
Diff to previous 1.4 (colored)
ext2fs has a 32-bit time fields. store a u_int32_t of the real time_t -- that should tide us over for a long time. ok guenther
Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 4 02:27:00 2012 UTC (11 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)
remove some unnecessary sys/cdefs.h inclusions
Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 12 17:50:48 2011 UTC (13 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.2: +11 -11 lines
Diff to previous 1.2 (colored)
These utilities can currently only operate with a 32-bit block number range, so use daddr32_t ok jasper
Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 16 12:25:35 2010 UTC (14 years, 3 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
fix OpenBSD rcs tags, prompted by Tim van der Molen
Revision 1.1 / (download) - annotate - [select for diffs], Tue Feb 16 08:25:55 2010 UTC (14 years, 3 months ago) by otto
Branch: MAIN
Port of newfs_ext2fs from NetBSD. not hooked to the build yet. ok miod@