Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/disklabel Print bsize and fsize in disktab-format outpu...



details:   https://anonhg.NetBSD.org/src/rev/804dd3aeb81d
branches:  trunk
changeset: 473433:804dd3aeb81d
user:      is <is%NetBSD.org@localhost>
date:      Thu Jun 03 21:15:49 1999 +0000

description:
Print bsize and fsize in disktab-format output also for LFS and ADOS.

diffstat:

 sbin/disklabel/disklabel.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r e87640c33584 -r 804dd3aeb81d sbin/disklabel/disklabel.c
--- a/sbin/disklabel/disklabel.c        Thu Jun 03 20:59:04 1999 +0000
+++ b/sbin/disklabel/disklabel.c        Thu Jun 03 21:15:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.c,v 1.71 1999/06/03 20:59:04 is Exp $        */
+/*     $NetBSD: disklabel.c,v 1.72 1999/06/03 21:15:49 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.71 1999/06/03 20:59:04 is Exp $");
+__RCSID("$NetBSD: disklabel.c,v 1.72 1999/06/03 21:15:49 is Exp $");
 #endif
 #endif /* not lint */
 
@@ -1097,6 +1097,8 @@
                                break;
 
                        case FS_BSDFFS:
+                       case FS_BSDLFS:
+                       case FS_ADOS:
                                (void) fprintf(f, "b%c#%d:", c,
                                    pp->p_fsize * pp->p_frag);
                                (void) fprintf(f, "f%c#%d:", c, pp->p_fsize);



Home | Main Index | Thread Index | Old Index