Date: Thu, 10 Jul 2008 21:19:35 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-geom@freebsd.org Subject: Re: Can GEOM be used to intercept the I/o calls to an existing mounted device? Message-ID: <g55nc9$art$1@ger.gmane.org> In-Reply-To: <482257ad0807100655u1a5c660awfad05564e40e9a95@mail.gmail.com> References: <482257ad0807100541s2d2c3d1eo6cd57c3a1bc338d1@mail.gmail.com> <200807102309.03191.mark@legios.org> <482257ad0807100655u1a5c660awfad05564e40e9a95@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig14946CCF175CE727EF6B3025 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Tapan Chaudhari wrote: > Can't I do it on the fly while the device is already mounted? I just wa= nt > that all the calls going to the device "/dev/md0s1" first come to me an= d > then it goes to the original device. In short intercepting the i/o call= s. Is > there some way I can achieve this? It would be very nice if GEOM could do this, since it would then=20 trivially allow things like data replication, log/rollback, etc. but it=20 doesn't work like that. In short, no, you cannot listen to IO between=20 providers. (not that it isn't possible to do at all, it just isn't implemented). --------------enig14946CCF175CE727EF6B3025 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdmDIldnAQVacBcgRAqr9AJ9vAhSfb6e2a29Y4NxAn2QNWRTRpACg8Ht7 z86ZtogEdVF0NwgAb0JoHC8= =M/JJ -----END PGP SIGNATURE----- --------------enig14946CCF175CE727EF6B3025--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g55nc9$art$1>