aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/disklabel.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2012-05-25 20:33:34 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2012-05-25 20:33:34 +0000
commitf24a8224b2046c7b7e4525ccb94b8e1f39a600d4 (patch)
tree22db89ce1df21b40282304277904a448e457d5b0 /sys/sys/disklabel.h
parent3c52150e70ebc3e264786918f0414edfa243a7d2 (diff)
downloadsrc-f24a8224b2046c7b7e4525ccb94b8e1f39a600d4.tar.gz
src-f24a8224b2046c7b7e4525ccb94b8e1f39a600d4.zip
Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes.
The gpart alias for these partition types is "freebsd-nandfs".
Notes
Notes: svn path=/head/; revision=236023
Diffstat (limited to 'sys/sys/disklabel.h')
-rw-r--r--sys/sys/disklabel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 31cefd1eb124..d135afa8fc9f 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -232,6 +232,7 @@ static const char *dktypenames[] = {
#define FS_UDF 24 /* UDF */
#define FS_EFS 26 /* SGI's Extent File system */
#define FS_ZFS 27 /* Sun's ZFS */
+#define FS_NANDFS 30 /* FreeBSD nandfs (NiLFS derived) */
#ifdef FSTYPENAMES
static const char *fstypenames[] = {
@@ -263,6 +264,9 @@ static const char *fstypenames[] = {
"?",
"EFS",
"ZFS",
+ "?",
+ "?",
+ "nandfs",
NULL
};
#define FSMAXTYPES (sizeof(fstypenames) / sizeof(fstypenames[0]) - 1)