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/1faa2a2a41c3
branches:  trunk
changeset: 968030:1faa2a2a41c3
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 2ec3e4c816e2 -r 1faa2a2a41c3 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