summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r260068, r260069, r260076scottl2014-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Add the -R option to allow fsck_ffs to restart itself when too many critical errors have been detected in a particular run. Clean up the global state variables so that a restart can happen correctly. Separate the global variables in fsck_ffs and fsdb to their own file. This fixes header sharing with fscd. Correctly initialize, static-ize, and remove global variables as needed in dir.c. This fixes a problem with lost+found directories that was causing a segfault. Correctly initialize, static-ize, and remove global variables as needed in suj.c. Initialize the suj globals before allocating the disk object, not after. Also ensure that 'preen' mode doesn't conflict with 'restart' mode Obtained from: Netflix
* Partially undo r228693, by removing NO_WFORMAT.clang in fsdb's Makefile,dim2012-03-091-2/+0
| | | | | | | | | | | | 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
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-281-3/+1
| | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.dim2011-12-181-0/+4
| | | | MFC after: 1 week
* Make fsck WARNS=2 clean.le2004-10-091-1/+1
|
* Downgrade WARNS level until GCC 3.4.2 warning are fixed.kan2004-07-281-0/+1
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Make this WARNS=2 clean byjohan2003-11-131-1/+0
| | | | | | | | | | - #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
* I forgot fsdb was still sharing files with fsck.phk2002-09-161-1/+1
|
* Warning cleanup.phk2002-07-301-1/+1
| | | | Format changes by peter
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Reviewed by: rwatson, bpadrian2000-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: rwatson Obtained from: NetBSD source tree Second part of the fsck wrappers commit. This commit enables the new fsck code (removing the fsck/* code and replacing it with the netbsd fsck wrapper code), and enabling some FFS-based utilities to compile. Details: * quotacheck, fsdb required modification to use the fsck_ffs/ code rather than fsck/ . This might change later since quotacheck requires preen.c which should exist in fsck/ rather than fsck_ffs/ * src/Makefile has fsck_ffs added to it so it it built as part of the tree now * share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck. I've tested this, and it shouldn't require any changes on your machine. The fsck wrapper reads /etc/fsck and is command-line-compatible enough to not require rc changes (well, most changes unless you want to do anything nifty by specifying the fs types explicityly, read the man page if you want further details on what it can do.) This now allows us to support multiple filesystem types during bootup.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* opt_diagnostic.h isn't needed anymore.jhay1998-02-061-8/+3
|
* fsdb and fsck use the ffs code which needs opt_diagnostic.h.jhay1998-02-051-3/+8
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add ${DPADD}, $Id$peter1996-09-021-0/+2
|
* Adjust relative paths in Makefile to ../sbin/fsck and ../../sys/ufs/ffspeter1995-11-241-2/+2
|
* Commit FreeBSD-specific changes. Mainly to do with structure layoutpeter1995-11-031-1/+1
| | | | differences that we dont have.
* Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl.peter1995-11-031-0/+13
Obtained from: NetBSD
OpenPOWER on IntegriCloud