summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-06-18 09:29:28 +0000
committerphk <phk@FreeBSD.org>2003-06-18 09:29:28 +0000
commit84a309987ce847321ccbfac2c62a793218ddf771 (patch)
tree04b9c1be72c573510a9498af541d610968df0640 /sys/conf
parentde0f8d4cffdece57312d0849ec5485c743671571 (diff)
downloadFreeBSD-src-84a309987ce847321ccbfac2c62a793218ddf771.zip
FreeBSD-src-84a309987ce847321ccbfac2c62a793218ddf771.tar.gz
Add "GEOM_FOX", a class which detects and selects between multiple
redundant paths to the same device. This class reacts to a label in the first sector of the device, which is created the following way: # "0123456789abcdef012345..." # "<----magic-----><-id-...> echo "GEOM::FOX someid" | dd of=/dev/da0 conv=sync NB: Since the fact that multiple disk devices are in fact the same device is not known to GEOM, the geom taste/spoil process cannot fully catch all corner cases and this module can therefore be confused if you do the right wrong things. NB: The disk level drivers need to do the right thing for this to be useful, and that is not by definition currently the case.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/options1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index faa8d78..9d98a96 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -121,6 +121,7 @@ options GEOM_AES # Don't use, use GEOM_BDE
options GEOM_APPLE # Apple partitioning
options GEOM_BDE # Disk encryption.
options GEOM_BSD # BSD disklabels
+options GEOM_FOX # Redundant path mitigation
options GEOM_GPT # GPT partitioning
options GEOM_MBR # DOS/MBR partitioning
options GEOM_PC98 # NEC PC9800 partitioning
diff --git a/sys/conf/files b/sys/conf/files
index 671d0ac..50bbf28 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -917,6 +917,7 @@ geom/geom_dev.c standard
geom/geom_disk.c standard
geom/geom_dump.c standard
geom/geom_event.c standard
+geom/geom_fox.c optional geom_fox
geom/geom_gpt.c optional geom_gpt
geom/geom_io.c standard
geom/geom_kern.c standard
diff --git a/sys/conf/options b/sys/conf/options
index d4f6edc..ee895c9 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -90,6 +90,7 @@ GEOM_AES opt_geom.h
GEOM_APPLE opt_geom.h
GEOM_BDE opt_geom.h
GEOM_BSD opt_geom.h
+GEOM_FOX opt_geom.h
GEOM_GPT opt_geom.h
GEOM_MBR opt_geom.h
GEOM_MIRROR opt_geom.h
OpenPOWER on IntegriCloud