head	1.20;
access;
symbols
	RELENG_8_4:1.20.0.2
	RELENG_9_1_0_RELEASE:1.19.2.1.4.2
	RELENG_9_1:1.19.2.1.0.4
	RELENG_9_1_BP:1.19.2.1
	RELENG_8_3_0_RELEASE:1.18.10.1.8.1
	RELENG_8_3:1.18.10.1.0.8
	RELENG_8_3_BP:1.18.10.1
	RELENG_9_0_0_RELEASE:1.19.2.1.2.1
	RELENG_9_0:1.19.2.1.0.2
	RELENG_9_0_BP:1.19.2.1
	RELENG_9:1.19.0.2
	RELENG_9_BP:1.19
	RELENG_7_4_0_RELEASE:1.18.14.1
	RELENG_8_2_0_RELEASE:1.18.10.1.6.1
	RELENG_7_4:1.18.0.14
	RELENG_7_4_BP:1.18
	RELENG_8_2:1.18.10.1.0.6
	RELENG_8_2_BP:1.18.10.1
	RELENG_8_1_0_RELEASE:1.18.10.1.4.1
	RELENG_8_1:1.18.10.1.0.4
	RELENG_8_1_BP:1.18.10.1
	RELENG_7_3_0_RELEASE:1.18.12.1
	RELENG_7_3:1.18.0.12
	RELENG_7_3_BP:1.18
	RELENG_8_0_0_RELEASE:1.18.10.1.2.1
	RELENG_8_0:1.18.10.1.0.2
	RELENG_8_0_BP:1.18.10.1
	RELENG_8:1.18.0.10
	RELENG_8_BP:1.18
	RELENG_7_2_0_RELEASE:1.18.8.1
	RELENG_7_2:1.18.0.8
	RELENG_7_2_BP:1.18
	RELENG_7_1_0_RELEASE:1.18.6.1
	RELENG_6_4_0_RELEASE:1.16.12.1
	RELENG_7_1:1.18.0.6
	RELENG_7_1_BP:1.18
	RELENG_6_4:1.16.0.12
	RELENG_6_4_BP:1.16
	RELENG_7_0_0_RELEASE:1.18
	RELENG_6_3_0_RELEASE:1.16
	RELENG_7_0:1.18.0.4
	RELENG_7_0_BP:1.18
	RELENG_6_3:1.16.0.10
	RELENG_6_3_BP:1.16
	RELENG_7:1.18.0.2
	RELENG_7_BP:1.18
	RELENG_6_2_0_RELEASE:1.16
	RELENG_6_2:1.16.0.8
	RELENG_6_2_BP:1.16
	RELENG_5_5_0_RELEASE:1.15.2.2
	RELENG_5_5:1.15.2.2.0.4
	RELENG_5_5_BP:1.15.2.2
	RELENG_6_1_0_RELEASE:1.16
	RELENG_6_1:1.16.0.6
	RELENG_6_1_BP:1.16
	RELENG_6_0_0_RELEASE:1.16
	RELENG_6_0:1.16.0.4
	RELENG_6_0_BP:1.16
	RELENG_6:1.16.0.2
	RELENG_6_BP:1.16
	RELENG_5_4_0_RELEASE:1.15.2.2
	RELENG_5_4:1.15.2.2.0.2
	RELENG_5_4_BP:1.15.2.2
	RELENG_5_3_0_RELEASE:1.15
	RELENG_5_3:1.15.0.4
	RELENG_5_3_BP:1.15
	RELENG_5:1.15.0.2
	RELENG_5_BP:1.15
	RELENG_5_2_1_RELEASE:1.12
	RELENG_5_2_0_RELEASE:1.12
	RELENG_5_2:1.12.0.6
	RELENG_5_2_BP:1.12
	RELENG_5_1_0_RELEASE:1.12
	RELENG_5_1:1.12.0.4
	RELENG_5_1_BP:1.12
	RELENG_5_0_0_RELEASE:1.12
	RELENG_5_0:1.12.0.2
	RELENG_5_0_BP:1.12
	old_RELENG_4_1_1_RELEASE:1.5
	old_PRE_SMPNG:1.5
	old_RELENG_4_1_0_RELEASE:1.5
	old_RELENG_3_5_0_RELEASE:1.5
	old_RELENG_4_0_0_RELEASE:1.5
	old_RELENG_4:1.5.0.6
	old_RELENG_4_BP:1.5
	old_RELENG_3_4_0_RELEASE:1.5
	old_RELENG_3_3_0_RELEASE:1.5
	old_RELENG_3_2_PAO:1.5.0.4
	old_RELENG_3_2_PAO_BP:1.5
	old_RELENG_3_2_0_RELEASE:1.5
	old_RELENG_3_1_0_RELEASE:1.5
	old_RELENG_3:1.5.0.2
	old_RELENG_3_BP:1.5
	old_MCKUSICK2:1.1.1.4
	old_MCKUSICK:1.1.1.3
	old_RELENG_2_2_8_RELEASE:1.2
	old_RELENG_3_0_0_RELEASE:1.5
	old_RELENG_2_2_7_RELEASE:1.2
	old_RELENG_2_2_6_RELEASE:1.2
	old_POST_SOFTUPDATE:1.5
	old_PRE_SOFTUPDATE:1.5
	old_RELENG_2_2_5_RELEASE:1.2
	old_RELENG_2_2_2_RELEASE:1.2
	old_RELENG_2_2_1_RELEASE:1.2
	old_RELENG_2_2_0_RELEASE:1.2
	old_bsd_44_lite_2:1.1.1.2
	old_RELENG_2_1_7_RELEASE:1.2
	old_RELENG_2_1_6_1_RELEASE:1.2
	old_RELENG_2_1_6_RELEASE:1.2
	old_RELENG_2_2:1.2.0.8
	old_RELENG_2_2_BP:1.2
	old_RELENG_2_1_5_RELEASE:1.2
	old_RELENG_2_1_0_RELEASE:1.2
	old_RELENG_2_1_0:1.2.0.6
	old_RELENG_2_1_0_BP:1.2
	old_RELENG_2_0_5_RELEASE:1.2
	old_RELENG_2_0_5:1.2.0.4
	old_RELENG_2_0_5_BP:1.2
	old_RELENG_2_0_5_ALPHA:1.2
	old_RELEASE_2_0:1.2
	old_BETA_2_0:1.2
	old_ALPHA_2_0:1.2.0.2
	old_bsd_44_lite:1.1.1.1
	old_CSRG:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.01.50.19;	author svnexp;	state Exp;
branches
	1.20.2.1;
next	1.19;

1.19
date	2010.04.24.07.05.35;	author jeff;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2007.09.19.01.24.19;	author rodrigc;	state Exp;
branches
	1.18.2.1
	1.18.6.1
	1.18.8.1
	1.18.10.1
	1.18.12.1
	1.18.14.1;
next	1.17;

1.17
date	2006.10.31.22.06.56;	author pjd;	state Exp;
branches;
next	1.16;

1.16
date	2004.09.01.08.26.39;	author scottl;	state Exp;
branches
	1.16.2.1
	1.16.12.1;
next	1.15;

1.15
date	2004.07.28.05.57.48;	author kan;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2004.02.23.20.13.51;	author johan;	state Exp;
branches;
next	1.13;

1.13
date	2004.01.10.14.36.49;	author simon;	state Exp;
branches;
next	1.12;

1.12
date	2002.09.16.11.27.47;	author phk;	state Exp;
branches;
next	1.11;

1.11
date	2002.07.30.20.49.29;	author phk;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.04.02.19.46;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.26.14.33.01;	author ru;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.20.18.13.04;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2000.10.09.09.21.04;	author adrian;	state Exp;
branches;
next	1.6;

1.6
date	2000.10.09.08.26.28;	author adrian;	state Exp;
branches;
next	1.5;

1.5
date	98.02.06.22.31.02;	author jhay;	state Exp;
branches;
next	1.4;

1.4
date	98.02.05.14.30.32;	author jhay;	state Exp;
branches;
next	1.3;

1.3
date	97.03.11.12.19.21;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.02.41.57;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.26.06.34.09;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.20.2.1
date	2012.11.17.01.50.19;	author svnexp;	state dead;
branches;
next	1.20.2.2;

1.20.2.2
date	2013.03.28.13.03.32;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.19.2.1.2.1
	1.19.2.1.4.1;
next	1.19.2.2;

1.19.2.2
date	2012.11.17.11.36.31;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.19.2.1.2.2;

1.19.2.1.2.2
date	2012.11.17.08.36.30;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.19.2.1.4.2;

1.19.2.1.4.2
date	2012.11.17.08.47.20;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1
date	2012.11.17.08.03.33;	author svnexp;	state Exp;
branches;
next	;

1.18.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.18.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.18.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.18.10.1.2.1
	1.18.10.1.4.1
	1.18.10.1.6.1
	1.18.10.1.8.1;
next	1.18.10.2;

1.18.10.2
date	2012.11.17.10.36.15;	author svnexp;	state Exp;
branches;
next	;

1.18.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.18.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.18.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.18.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.18.10.1.8.2;

1.18.10.1.8.2
date	2012.11.17.08.24.55;	author svnexp;	state Exp;
branches;
next	;

1.18.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.18.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.18.14.2;

1.18.14.2
date	2012.11.17.08.16.53;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2012.11.17.07.41.15;	author svnexp;	state Exp;
branches;
next	;

1.16.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.15.2.1
date	2004.11.08.07.50.55;	author truckman;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2004.11.08.07.56.38;	author truckman;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.26.06.34.10;	author rgrimes;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.03.11.11.59.33;	author peter;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	98.12.02.20.53.40;	author julian;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	98.12.03.02.18.31;	author julian;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sbin/fsck_ffs/Makefile 207141 2010-04-24 07:05:35Z jeff $
#	@@(#)Makefile	8.2 (Berkeley) 4/27/95

PROG=	fsck_ffs
LINKS+=	${BINDIR}/fsck_ffs ${BINDIR}/fsck_ufs
LINKS+=	${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd
MAN=	fsck_ffs.8
MLINKS=	fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8
SRCS=	dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \
	pass4.c pass5.c setup.c suj.c utilities.c gjournal.c getmntopts.c
DPADD=	${LIBUFS}
LDADD=	-lufs
WARNS?=	2
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mount

.PATH:	${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../mount

.include <bsd.prog.mk>
@


1.20.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:32 +0000
@
text
@d1 18
@


1.20.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 19
# $FreeBSD: releng/8.4/sbin/fsck_ffs/Makefile 172236 2007-09-19 01:24:19Z rodrigc $
#	@@(#)Makefile	8.2 (Berkeley) 4/27/95

PROG=	fsck_ffs
LINKS+=	${BINDIR}/fsck_ffs ${BINDIR}/fsck_ufs
LINKS+=	${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd
MAN=	fsck_ffs.8
MLINKS=	fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8
SRCS=	dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \
	pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c gjournal.c \
	getmntopts.c
DPADD=	${LIBUFS}
LDADD=	-lufs
WARNS?=	2
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mount

.PATH:	${.CURDIR}/../../sys/ufs/ffs ${.CURDIR}/../mount

.include <bsd.prog.mk>
@


1.19
log
@SVN rev 207141 on 2010-04-24 07:05:35Z by 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
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.19.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.19.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sbin/fsck_ffs/Makefile 207141 2010-04-24 07:05:35Z jeff $
@


1.19.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.19.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sbin/fsck_ffs/Makefile 207141 2010-04-24 07:05:35Z jeff $
@


1.19.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.19.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sbin/fsck_ffs/Makefile 207141 2010-04-24 07:05:35Z jeff $
@


1.18
log
@Convert fsck_ffs to nmount().  This seems to solve
an intermittent problem where MNT_RELOAD fails
for the root file system.

Reported and tested by: phk
Approved by:		re (bmah)
@
text
@d10 1
a10 2
	pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c gjournal.c \
	getmntopts.c
@


1.18.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sbin/fsck_ffs/Makefile 172236 2007-09-19 01:24:19Z rodrigc $
@


1.18.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.18.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sbin/fsck_ffs/Makefile 172236 2007-09-19 01:24:19Z rodrigc $
@


1.18.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.18.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.18.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sbin/fsck_ffs/Makefile 172236 2007-09-19 01:24:19Z rodrigc $
@


1.18.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.18.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sbin/fsck_ffs/Makefile 172236 2007-09-19 01:24:19Z rodrigc $
@


1.18.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.18.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.18.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.18.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.18.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.17
log
@Implements gjournal support. If file system has gjournal support enabled
and -p flag was given perform fast file system checking (bascially only
garbage collecting of orphaned objects).

Rename bread() to blread() and bwrite() to blwrite() as we now link to
the libufs library, which also implement functions with that names.

Sponsored by:	home.pl
@
text
@d10 2
a11 1
	pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c gjournal.c
d15 1
a15 1
CFLAGS+= -I${.CURDIR}
d17 1
a17 1
.PATH:	${.CURDIR}/../../sys/ufs/ffs
@


1.16
log
@Move back to WARNS=2
@
text
@d10 3
a12 1
	pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
@


1.16.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sbin/fsck_ffs/Makefile 134597 2004-09-01 08:26:39Z scottl $
@


1.16.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.15
log
@Downgrade WARNS level until GCC 3.4.2 warning have been fixed.
@
text
@d11 1
a11 1
WARNS?=	0
@


1.15.2.1
log
@MFC dir.c:1.29, fsck.h:1.32, inode.c:1.36, pass1.c:1.42, pass2.c:1.25

> scottl      2004-09-01 05:48:06 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sbin/fsck_ffs        dir.c fsck.h inode.c pass1.c pass2.c
>   Log:
>   Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings.
>
>   Inspired by: kan
>
>   Revision  Changes    Path
>   1.29      +14 -14    src/sbin/fsck_ffs/dir.c
>   1.32      +15 -0     src/sbin/fsck_ffs/fsck.h
>   1.36      +18 -14    src/sbin/fsck_ffs/inode.c
>   1.42      +3 -3      src/sbin/fsck_ffs/pass1.c
>   1.25      +9 -9      src/sbin/fsck_ffs/pass2.c
@
text
@d11 1
a11 1
WARNS?=	2
@


1.15.2.2
log
@Forced commit - previous commit was MFC of Makefile:1.16

> scottl      2004-09-01 08:26:39 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sbin/fsck_ffs        Makefile
>   Log:
>   Move back to WARNS=2
>
>   Revision  Changes    Path
>   1.16      +1 -1      src/sbin/fsck_ffs/Makefile
@
text
@@


1.14
log
@style.Makefile(5):
	Use WARNS?= instead of WARNS=.
@
text
@d11 1
a11 1
WARNS?=	2
@


1.13
log
@Add manual page links from fsck_ufs.8 and fsck_4.2bsd.8 to fsck_ffs.8,
since there are already the same links for the program binary.

Suggested by:	mat
@
text
@d11 1
a11 1
WARNS=	2
@


1.12
log
@Add a source file where EXTATTR checks will happen and hook it in even
if it doesn't do anything yet.

Sponsored by: DARPA & NAI Labs.
@
text
@d8 1
@


1.11
log
@Remove some additional paranoia which Kirk forgot to remove from his
UFS2 commit.

These bits in essence made any instance of "softupdates expected
corrution", (ie blocks marked allocated but not referenced by an
inode etc) result in a exit value for fsck_ffs of 2.

2 is part of the magic and appearantly undocumented protocol between
fsck_FOO and fsck and means "dump into single user mode ASAP.

Sponsored by:	DARPA & NAI Labs.
@
text
@d8 2
a9 2
SRCS=	dir.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
	pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
@


1.10
log
@Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
@
text
@d10 2
a11 1
WARNS=	0
@


1.9
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/fsck_ffs/Makefile,v 1.8 2001/03/20 18:13:04 ru Exp $
d10 2
a11 1
CFLAGS+=-W
@


1.8
log
@Set the default manual section for sbin/ to 8.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/fsck_ffs/Makefile,v 1.7 2000/10/09 09:21:04 adrian Exp $
d7 1
@


1.7
log
@Some missed magic in the fsck wrapper commit which is required by other
utilities which use bits of fsck_ffs - namely quotacheck and fsdb.
In depth, utilities.c contains blockcheck() which is needed by both,
but also a slew of routines which require bits of the FFS code to be
compiled in. This breaks the fs-specific and non-fs-specific code
up into two files (well, blockcheck() is the only routine in utilities.c,
that'll change later) which makes building fsck_ffs, quotacheck and
fsdb work yet again.

(You won't find commits to fsdb and quotacheck here before I haven't
committed the post-fsck-wrappers version of them yet.)
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/fsck_ffs/Makefile,v 1.6 2000/10/09 08:26:28 adrian Exp $
a6 1
MAN8=	fsck_ffs.8
@


1.6
log
@Reviewed by:	rwatson, bp
Approved by:	rwatson
Obtained from:	NetBSD-current source tree

The beginnings of the fsck wrappers stuff from NetBSD. This particular commit
brings a newly repo-copied sbin/fsck_ffs/ (from sbin/fsck/) into fsck wrappers
mode.

A quick overview (the code reflects this):

* Documentation changed to reflect fsck_ffs instead of fsck
* Simply acts on a single filesystem, doesn't try to do any multiple filesystem
  magic - this is done by the fsck wrappers now

And then specific to fsck_ffs:

* link to /sbin/fsck_4.2bsd and /sbin/fsck_ufs. This is because right now
  the filesystem is of type ufs not ffs, and that during autodetection the
  labeltype rather than the VFS type is used - this is because when doing
  an autodetection of filesystem type in the fsck wrapper program, it does
  not have any link between label type (4.2bsd, vinum, etc) and VFS string.

Note that this shouldn't break a build since the required buildworld Makefile
magic and import of the fsck wrapper code into src/sbin/fsck/ will happen
in a seperate commit.
@
text
@d1 1
a1 1
# $FreeBSD$
d8 1
a8 1
SRCS=	dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
@


1.5
log
@opt_diagnostic.h isn't needed anymore.
@
text
@d1 1
d4 4
a7 2
PROG=	fsck
MAN8=	fsck.8
d9 1
a9 1
	pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
@


1.4
log
@fsdb and fsck use the ffs code which needs opt_diagnostic.h.
@
text
@d6 2
a7 4
	pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c \
	opt_diagnostic.h
CFLAGS+=-W -I${.OBJDIR}
CLEANFILES+=opt_diagnostic.h
a8 3

opt_diagnostic.h:
	touch opt_diagnostic.h
@


1.3
log
@Merge from Lite2.  Note that Lite2 has it's own filesystem clean check
skipping code that overrides ours sooner.  One should be eliminated,
but for now it works.
@
text
@d6 4
a9 2
	pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
CFLAGS+=-W
d11 3
@


1.2
log
@Convert to our man installation style.  Also fixed long-standing bug
in `fastboot'/`fasthalt' in which the interpreter would hang around
after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
d7 1
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
MAN8=	fsck.0
@


1.1.1.1
log
@BSD 4.4 Lite sbin Sources

Note:  XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.
@
text
@@


1.1.1.2
log
@Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.
(note that some of these have already been imported, this is a no-op)
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 4/27/95
a6 1
CFLAGS+=-W
@


1.1.1.3
log
@Latest version of fsck from the folks at EX-CSRG specifically Kirk Mckusick.
Don Lewis and Kirk have merges nearly all FreeBSD Fixes into Kirks sources
so there is very little that needs to be re-merged.
@
text
@d8 1
@


1.1.1.4
log
@Work out that there are a few slight improvements to import as well.
@
text
@d4 1
a4 1
MAN8=	fsck.8
a7 1
.PATH:	${.CURDIR}/../../sys/ufs/ffs
@


