Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/conf Add autodiscover wedge support to macpp...



details:   https://anonhg.NetBSD.org/src/rev/49506d1a46ef
branches:  trunk
changeset: 778136:49506d1a46ef
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Mar 17 19:57:14 2012 +0000

description:
Add autodiscover wedge support to macppc GENERIC, to allow use of
GPT-partitioned disks in a similar way to amd64/i386.

diffstat:

 sys/arch/macppc/conf/GENERIC |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r c00732fd8ba2 -r 49506d1a46ef sys/arch/macppc/conf/GENERIC
--- a/sys/arch/macppc/conf/GENERIC      Sat Mar 17 19:54:09 2012 +0000
+++ b/sys/arch/macppc/conf/GENERIC      Sat Mar 17 19:57:14 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.299 2012/03/17 19:54:09 riz Exp $
+# $NetBSD: GENERIC,v 1.300 2012/03/17 19:57:14 riz Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.299 $"
+#ident                 "GENERIC-$Revision: 1.300 $"
 
 maxusers       32
 
@@ -81,6 +81,13 @@
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
 
+# Wedge support
+options         DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
+options         DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
+# The following two options can break /etc/fstab, so handle with care
+#options        DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
+#options        DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
+
 # File systems
 file-system    FFS             # UFS
 file-system    EXT2FS          # second extended file system (linux)



Home | Main Index | Thread Index | Old Index