Module Name:    src
Committed By:   tkusumi
Date:           Wed Jan  1 09:17:27 UTC 2020

Modified Files:
        src/usr.sbin/fstyp: fstyp.c

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

taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/fstyp/fstyp.c
diff -u src/usr.sbin/fstyp/fstyp.c:1.9 src/usr.sbin/fstyp/fstyp.c:1.10
--- src/usr.sbin/fstyp/fstyp.c:1.9	Wed Jan  1 09:08:52 2020
+++ src/usr.sbin/fstyp/fstyp.c	Wed Jan  1 09:17:27 2020
@@ -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 @@ static struct {
 	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 }
 };
 

Reply via email to