From owner-freebsd-current@FreeBSD.ORG Mon Sep 6 05:24:56 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB9D916A4CE for ; Mon, 6 Sep 2004 05:24:56 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C56843D53 for ; Mon, 6 Sep 2004 05:24:56 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.11/8.12.11) with ESMTP id i865OmhV035339; Sun, 5 Sep 2004 22:24:52 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200409060524.i865OmhV035339@gw.catspoiler.org> Date: Sun, 5 Sep 2004 22:24:48 -0700 (PDT) From: Don Lewis To: keramida@hellug.gr In-Reply-To: <20040906051526.GA8925@igloo.linux.gr> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: freebsd-current@FreeBSD.org Subject: Re: what is fsck's "slowdown"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 05:24:56 -0000 On 6 Sep, Giorgos Keramidas wrote: > On 2004-09-05 18:33, Don Lewis wrote: >> Index: sbin/fsck_ffs/fsck.h >> =================================================================== >> RCS file: /home/ncvs/src/sbin/fsck_ffs/fsck.h,v >> retrieving revision 1.32 >> diff -u -r1.32 fsck.h >> --- sbin/fsck_ffs/fsck.h 1 Sep 2004 05:48:06 -0000 1.32 >> +++ sbin/fsck_ffs/fsck.h 6 Sep 2004 00:41:31 -0000 >> @@ -84,6 +84,8 @@ >> #define DFOUND 04 /* directory found during descent */ >> #define DCLEAR 05 /* directory is to be cleared */ >> #define FCLEAR 06 /* file is to be cleared */ >> +#define FZLINK 07 /* inode is file with a link count of zero */ >> +#define DZLINK 10 /* inode is directory with a zero link count */ > > Just a minor note: > > 04, 05, 06, 07, are octals. > I think DZLINK should be 010 and not 10 (which is decimal). Yup. Someone else sent me a private message about this.