From owner-cvs-all@FreeBSD.ORG Wed Jun 18 02:29:29 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58D7C37B401; Wed, 18 Jun 2003 02:29:29 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6E2843F93; Wed, 18 Jun 2003 02:29:28 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5I9TS0U086253; Wed, 18 Jun 2003 02:29:28 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5I9TSXZ086252; Wed, 18 Jun 2003 02:29:28 -0700 (PDT) Message-Id: <200306180929.h5I9TSXZ086252@repoman.freebsd.org> From: Poul-Henning Kamp Date: Wed, 18 Jun 2003 02:29:28 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom_fox.c src/sys/modules/geom Makefile src/sys/modules/geom/geom_fox Makefile src/sys/conf NOTES files options X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 09:29:29 -0000 phk 2003/06/18 02:29:28 PDT FreeBSD src repository Modified files: sys/modules/geom Makefile sys/conf NOTES files options Added files: sys/geom geom_fox.c sys/modules/geom/geom_fox Makefile Log: 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. Revision Changes Path 1.1153 +1 -0 src/sys/conf/NOTES 1.795 +1 -0 src/sys/conf/files 1.395 +1 -0 src/sys/conf/options 1.1 +468 -0 src/sys/geom/geom_fox.c (new) 1.4 +1 -0 src/sys/modules/geom/Makefile 1.1 +8 -0 src/sys/modules/geom/geom_fox/Makefile (new)