summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2007-11-09 11:32:58 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2007-11-09 11:32:58 +0000
commitbfda01151ed0ce826751f426f9fcd9dc253b46e3 (patch)
tree90ed3e502630fe9483053aeeaa4f717aba1be659 /sys/kern
parentbb367cd36852a5907c1792949d2fa7e751680600 (diff)
Make disklabel aware of NTFS.
ok miod@ krw@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_disk.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index d48b421f546..52f0c4df054 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.65 2007/09/07 15:00:20 art Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.66 2007/11/09 11:32:57 jsing Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -466,6 +466,11 @@ donot:
n++;
break;
+ case DOSPTYP_NTFS:
+ pp->p_fstype = FS_NTFS;
+ n++;
+ break;
+
case DOSPTYP_FAT12:
case DOSPTYP_FAT16S:
case DOSPTYP_FAT16B: