Hello,

The following diff enables NTFS support on loongson.  I've
been using it with external drives on my Yeeloong without any
problem.

Index: src/sbin/mount_ntfs/Makefile
===================================================================
RCS file: /cvs/src/sbin/mount_ntfs/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- src/sbin/mount_ntfs/Makefile        9 Dec 2007 19:48:55 -0000       1.7
+++ src/sbin/mount_ntfs/Makefile        3 Oct 2012 20:10:32 -0000
@@ -1,6 +1,7 @@
 #      $OpenBSD: Makefile,v 1.7 2007/12/09 19:48:55 martin Exp $
 
-.if (${MACHINE} == "alpha" || ${MACHINE} == "amd64" || ${MACHINE} == "i386")
+.if (${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
+     ${MACHINE} == "i386" || ${MACHINE} == "loongson") 
 PROG=  mount_ntfs
 SRCS=  mount_ntfs.c getmntopts.c
 .else
Index: sys/arch/loongson/conf/GENERIC
===================================================================
RCS file: /cvs/src/sys/arch/loongson/conf/GENERIC,v
retrieving revision 1.37
diff -u -p -r1.37 GENERIC
--- sys/arch/loongson/conf/GENERIC      27 Sep 2012 14:01:35 -0000      1.37
+++ sys/arch/loongson/conf/GENERIC      3 Oct 2012 20:10:55 -0000
@@ -22,6 +22,8 @@ option                WSDISPLAY_COMPAT_RAWKBD # provid
 option         PCIVERBOSE
 option         USBVERBOSE
 
+option         NTFS            # NTFS support
+
 config bsd     swap generic
 
 #

Reply via email to