:: Re: [Dng] vdev status update
Top Page
Delete this message
Reply to this message
Author: Jaromil
Date:  
To: Jude Nelson
CC: dng@lists.dyne.org
Subject: Re: [Dng] vdev status update

hi Jude,

On Sun, 22 Feb 2015, Jude Nelson wrote:

>    Hey everyone,
>    In keeping with the request to give more frequent status updates on
>    development, here's where things stand now with vdev.


many thanks!

one quick q (sry if I don't answer it myself looking at the code...)

>    (1) Create a vdev "action" file that tells vdev to run a script whenever
>    it adds or removes a character device:

>
>    $ cat example/actions/char.act
>    [vdev-action]
>    event=any
>    type=char
>    command=exec $VDEV_HELPERS/char.sh
>    (The line on the "command=" directive gets fed directly into /bin/sh;
>    $VDEV_HELPERS is the path to the directory holding shell scripts and
>    programs to set up devices, akin to /lib/udev).


what do you mean by "fed directly into /bin/sh" ?

isn't the script called with execve or similar, so one can just choose
any shell?

thanks
ciao