Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/disklabel Print/parse block size, fragment size and cpg...
details: https://anonhg.NetBSD.org/src/rev/e87640c33584
branches: trunk
changeset: 473432:e87640c33584
user: is <is%NetBSD.org@localhost>
date: Thu Jun 03 20:59:04 1999 +0000
description:
Print/parse block size, fragment size and cpg for FS_BSDLFS and FS_ADOS.
(cpg has different semantics for LFS and ADOS, but is in use.)
XXX The disktab reading/disktab format output writing needs still to be done.
diffstat:
sbin/disklabel/disklabel.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 8b2af5c15981 -r e87640c33584 sbin/disklabel/disklabel.c
--- a/sbin/disklabel/disklabel.c Thu Jun 03 20:14:58 1999 +0000
+++ b/sbin/disklabel/disklabel.c Thu Jun 03 20:59:04 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.c,v 1.70 1999/06/03 01:58:51 cgd Exp $ */
+/* $NetBSD: disklabel.c,v 1.71 1999/06/03 20:59:04 is Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -47,7 +47,7 @@
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.70 1999/06/03 01:58:51 cgd Exp $");
+__RCSID("$NetBSD: disklabel.c,v 1.71 1999/06/03 20:59:04 is Exp $");
#endif
#endif /* not lint */
@@ -1210,6 +1210,8 @@
break;
case FS_BSDFFS:
+ case FS_BSDLFS:
+ case FS_ADOS:
(void) fprintf(f, " %5d %5d %5d ",
pp->p_fsize, pp->p_fsize * pp->p_frag,
pp->p_cpg);
@@ -1668,6 +1670,8 @@
break;
case FS_BSDFFS:
+ case FS_BSDLFS:
+ case FS_ADOS:
NXTNUM(pp->p_fsize);
if (pp->p_fsize == 0)
break;
Home |
Main Index |
Thread Index |
Old Index