parent
209f5f57af
commit
a323eac318
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: disklabel.5,v 1.19 2002/09/28 00:40:08 dbj Exp $
|
||||
.\" $NetBSD: disklabel.5,v 1.20 2002/09/28 00:47:25 dbj Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1987, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -312,6 +312,7 @@ static const char *const dktypenames[] = {
|
||||
#define FS_RAID 19 /* RAIDframe component */
|
||||
#define FS_CCD 20 /* concatenated disk component */
|
||||
#define FS_JFS2 21 /* IBM JFS2 */
|
||||
#define FS_APPLEUFS 22 /* Apple UFS */
|
||||
|
||||
#ifdef FSTYPENAMES
|
||||
static const char *const fstypenames[] = {
|
||||
@ -337,6 +338,7 @@ static const char *const fstypenames[] = {
|
||||
"RAID",
|
||||
"ccd",
|
||||
"jfs",
|
||||
"Apple UFS",
|
||||
NULL
|
||||
};
|
||||
#define FSMAXTYPES (sizeof(fstypenames) / sizeof(fstypenames[0]) - 1)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: disklabel.c,v 1.106 2002/06/18 00:19:27 itojun Exp $ */
|
||||
/* $NetBSD: disklabel.c,v 1.107 2002/09/28 00:47:25 dbj Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1993
|
||||
@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\
|
||||
static char sccsid[] = "@(#)disklabel.c 8.4 (Berkeley) 5/4/95";
|
||||
/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
|
||||
#else
|
||||
__RCSID("$NetBSD: disklabel.c,v 1.106 2002/06/18 00:19:27 itojun Exp $");
|
||||
__RCSID("$NetBSD: disklabel.c,v 1.107 2002/09/28 00:47:25 dbj Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -1154,6 +1154,7 @@ makedisktab(FILE *f, struct disklabel *lp)
|
||||
case FS_BSDLFS:
|
||||
case FS_EX2FS:
|
||||
case FS_ADOS:
|
||||
case FS_APPLEUFS:
|
||||
(void) fprintf(f, "b%c#%d:", c,
|
||||
pp->p_fsize * pp->p_frag);
|
||||
(void) fprintf(f, "f%c#%d:", c, pp->p_fsize);
|
||||
@ -1606,6 +1607,7 @@ getasciilabel(FILE *f, struct disklabel *lp)
|
||||
|
||||
case FS_BSDFFS:
|
||||
case FS_ADOS:
|
||||
case FS_APPLEUFS:
|
||||
NXTNUM(pp->p_fsize);
|
||||
if (pp->p_fsize == 0)
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: printlabel.c,v 1.4 2002/05/27 17:33:09 drochner Exp $ */
|
||||
/* $NetBSD: printlabel.c,v 1.5 2002/09/28 00:47:26 dbj Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1993
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: printlabel.c,v 1.4 2002/05/27 17:33:09 drochner Exp $");
|
||||
__RCSID("$NetBSD: printlabel.c,v 1.5 2002/09/28 00:47:26 dbj Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -140,6 +140,7 @@ showpartition(FILE *f, struct disklabel *lp, int i, int ctsformat)
|
||||
|
||||
case FS_BSDFFS:
|
||||
case FS_ADOS:
|
||||
case FS_APPLEUFS:
|
||||
(void)fprintf(f, " %5d %5d %5d ",
|
||||
pp->p_fsize, pp->p_fsize * pp->p_frag, pp->p_cpg);
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: disklabel.h,v 1.74 2002/09/28 00:30:24 dbj Exp $ */
|
||||
/* $NetBSD: disklabel.h,v 1.75 2002/09/28 00:47:24 dbj Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1988, 1993
|
||||
@ -335,8 +335,9 @@ static const char *const dktypenames[] = {
|
||||
#define FS_RAID 19 /* RAIDframe component */
|
||||
#define FS_CCD 20 /* concatenated disk component */
|
||||
#define FS_JFS2 21 /* IBM JFS2 */
|
||||
#define FS_APPLEUFS 22 /* Apple UFS */
|
||||
|
||||
/* Adjust the FSMAXTYPES def below if you add something after JFS2 */
|
||||
/* Adjust the FSMAXTYPES def below if you add something after APPLEUFS */
|
||||
|
||||
#ifdef FSTYPENAMES
|
||||
static const char *const fstypenames[] = {
|
||||
@ -362,11 +363,12 @@ static const char *const fstypenames[] = {
|
||||
"RAID",
|
||||
"ccd",
|
||||
"jfs",
|
||||
"Apple UFS",
|
||||
NULL
|
||||
};
|
||||
#define FSMAXTYPES (sizeof(fstypenames) / sizeof(fstypenames[0]) - 1)
|
||||
#else
|
||||
#define FSMAXTYPES (FS_JFS2 + 1)
|
||||
#define FSMAXTYPES (FS_APPLEUFS + 1)
|
||||
#endif
|
||||
|
||||
#ifdef FSCKNAMES
|
||||
@ -394,6 +396,7 @@ static const char *const fscknames[] = {
|
||||
NULL, /* RAID Component */
|
||||
NULL, /* concatenated disk component */
|
||||
NULL, /* IBM JFS2 */
|
||||
NULL, /* Apple UFS */
|
||||
NULL /* NULL */
|
||||
};
|
||||
#define FSMAXNAMES (sizeof(fscknames) / sizeof(fscknames[0]) - 1)
|
||||
@ -425,6 +428,7 @@ static const char *const mountnames[] = {
|
||||
NULL, /* RAID Component */
|
||||
NULL, /* concatenated disk component */
|
||||
NULL, /* IBM JFS2 */
|
||||
NULL, /* Apple UFS */
|
||||
NULL /* NULL */
|
||||
};
|
||||
#define FSMAXMOUNTNAMES (sizeof(mountnames) / sizeof(mountnames[0]) - 1)
|
||||
|
Loading…
Reference in New Issue
Block a user