util -> fsutil
This commit is contained in:
parent
c5d8ca200f
commit
a0c84e7de2
@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.2 1996/09/23 16:27:56 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.3 1996/09/27 23:22:50 christos Exp $
|
||||
|
||||
PROG= fsck_msdos
|
||||
MAN= fsck_msdos.8
|
||||
SRCS= main.c check.c boot.c fat.c dir.c util.c
|
||||
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
|
||||
CFLAGS+= -I${.CURDIR}/../fsck
|
||||
.PATH: ${.CURDIR}/../fsck
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: boot.c,v 1.2 1996/09/23 16:27:57 christos Exp $ */
|
||||
/* $NetBSD: boot.c,v 1.3 1996/09/27 23:22:51 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995 Wolfgang Solfrank
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: boot.c,v 1.2 1996/09/23 16:27:57 christos Exp $";
|
||||
static char rcsid[] = "$NetBSD: boot.c,v 1.3 1996/09/27 23:22:51 christos Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -44,7 +44,7 @@ static char rcsid[] = "$NetBSD: boot.c,v 1.2 1996/09/23 16:27:57 christos Exp $"
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ext.h"
|
||||
#include "util.h"
|
||||
#include "fsutil.h"
|
||||
|
||||
int
|
||||
readboot(dosfs, boot)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: check.c,v 1.4 1996/09/23 16:27:57 christos Exp $ */
|
||||
/* $NetBSD: check.c,v 1.5 1996/09/27 23:22:52 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: check.c,v 1.4 1996/09/23 16:27:57 christos Exp $";
|
||||
static char rcsid[] = "$NetBSD: check.c,v 1.5 1996/09/27 23:22:52 christos Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -45,7 +45,7 @@ static char rcsid[] = "$NetBSD: check.c,v 1.4 1996/09/23 16:27:57 christos Exp $
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "ext.h"
|
||||
#include "util.h"
|
||||
#include "fsutil.h"
|
||||
|
||||
int
|
||||
checkfilesys(fname)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dir.c,v 1.7 1996/09/24 13:17:18 ws Exp $ */
|
||||
/* $NetBSD: dir.c,v 1.8 1996/09/27 23:22:52 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: dir.c,v 1.7 1996/09/24 13:17:18 ws Exp $";
|
||||
static char rcsid[] = "$NetBSD: dir.c,v 1.8 1996/09/27 23:22:52 christos Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
@ -50,7 +50,7 @@ static char rcsid[] = "$NetBSD: dir.c,v 1.7 1996/09/24 13:17:18 ws Exp $";
|
||||
#include <sys/param.h>
|
||||
|
||||
#include "ext.h"
|
||||
#include "util.h"
|
||||
#include "fsutil.h"
|
||||
|
||||
#define SLOT_EMPTY 0x00 /* slot has never been used */
|
||||
#define SLOT_E5 0x05 /* the real value is 0xe5 */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fat.c,v 1.3 1996/09/23 16:28:00 christos Exp $ */
|
||||
/* $NetBSD: fat.c,v 1.4 1996/09/27 23:22:53 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: fat.c,v 1.3 1996/09/23 16:28:00 christos Exp $";
|
||||
static char rcsid[] = "$NetBSD: fat.c,v 1.4 1996/09/27 23:22:53 christos Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -44,7 +44,7 @@ static char rcsid[] = "$NetBSD: fat.c,v 1.3 1996/09/23 16:28:00 christos Exp $";
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ext.h"
|
||||
#include "util.h"
|
||||
#include "fsutil.h"
|
||||
|
||||
static int checkclnum __P((struct bootblock *, int, cl_t, cl_t *));
|
||||
static int clustdiffer __P((cl_t, cl_t *, cl_t *, int));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: main.c,v 1.5 1996/09/24 13:17:20 ws Exp $ */
|
||||
/* $NetBSD: main.c,v 1.6 1996/09/27 23:22:54 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995 Wolfgang Solfrank
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$NetBSD: main.c,v 1.5 1996/09/24 13:17:20 ws Exp $";
|
||||
static char rcsid[] = "$NetBSD: main.c,v 1.6 1996/09/27 23:22:54 christos Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdlib.h>
|
||||
@ -49,7 +49,7 @@ static char rcsid[] = "$NetBSD: main.c,v 1.5 1996/09/24 13:17:20 ws Exp $";
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
|
||||
#include "util.h"
|
||||
#include "fsutil.h"
|
||||
#include "ext.h"
|
||||
|
||||
int alwaysno; /* assume "no" for all questions */
|
||||
|
Loading…
Reference in New Issue
Block a user