WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Startup-Hook Script ?

To: Steffen Heil <lists@xxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Startup-Hook Script ?
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Fri, 27 Jun 2008 11:18:12 +0200 (CEST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 Jun 2008 02:19:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2B0ECF0840E94D13A20529E641944A39@shs1>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 27 Jun 2008, Steffen Heil wrote:

> > You could make your own block script, and do this in it.
>
> Never heard of these.
> Could you give me a hint, where to start looking for that?

Sure; Go to /etc/xen/scripts there you find a massive script called block.
Now imagine you don't use file:// for your block thing but
fancyrootcopy://

With a script named block-fancyrootcopy you can parse the arguments after
that.

For example this is my iscsi script:

http://kinkrsoftware.nl/contrib/xen/block-iscsi


If you do file based stuff I suggest you to look at a wrapper around
tap:aio://


Stefan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users