what is fsck's "slowdown"?

Giorgos Keramidas keramida at hellug.gr
Sun Sep 5 22:21:35 PDT 2004


On 2004-09-05 18:33, Don Lewis <truckman at FreeBSD.org> 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).



More information about the freebsd-current mailing list