Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/fstyp fstyp: Add HAMMER1 multi-volume support (miss...



details:   https://anonhg.NetBSD.org/src/rev/4bcacdd8403e
branches:  trunk
changeset: 1006065:4bcacdd8403e
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Wed Jan 01 09:17:27 2020 +0000

description:
fstyp: Add HAMMER1 multi-volume support (missed in "fstyp: Add HAMMER1/2 support")

taken-from: DragonFlyBSD

diffstat:

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

diffs (27 lines):

diff -r 78a528e35a94 -r 4bcacdd8403e usr.sbin/fstyp/fstyp.c
--- a/usr.sbin/fstyp/fstyp.c    Wed Jan 01 09:08:52 2020 +0000
+++ b/usr.sbin/fstyp/fstyp.c    Wed Jan 01 09:17:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fstyp.c,v 1.9 2020/01/01 09:08:52 tkusumi Exp $        */
+/*     $NetBSD: fstyp.c,v 1.10 2020/01/01 09:17:27 tkusumi Exp $       */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  *
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: fstyp.c,v 1.9 2020/01/01 09:08:52 tkusumi Exp $");
+__RCSID("$NetBSD: fstyp.c,v 1.10 2020/01/01 09:17:27 tkusumi Exp $");
 
 #include <sys/disklabel.h>
 #include <sys/dkio.h>
@@ -90,6 +90,8 @@
        bool            unmountable;
        const char      *precache_encoding;
 } fsvtypes[] = {
+       { "hammer", &fsvtyp_hammer, false, NULL }, /* Must be before partial */
+       { "hammer(partial)", &fsvtyp_hammer_partial, true, NULL },
        { NULL, NULL, NULL, NULL }
 };
 



Home | Main Index | Thread Index | Old Index