I hope I find time the next 3 days to write an example for vicious,
which does this.
All the needed data is already fetched by dio.
The problem is you need to filter it in a smart way.
Otherwise you get all disk and their partitions separately, which is
indeed an unwanted duplication.

2011/10/29 Jörg Thalheim <[email protected]>:
> ---------- Forwarded message ----------
> From: Daniel Martí <[email protected]>
> Date: 2011/10/29
> Subject: Re: Widget updating
> To: [email protected]
>
>
> Exactly, yes.
>
> "Jörg Thalheim" <[email protected]> wrote:
>>
>> Do you want dio from vicious automatic show the disk io about new
>> devices as they are added to the system?
>>
>> 2011/10/28 Daniel Martí <[email protected]>:
>> > Dear awesome fellows,
>> >
>> > I'm trying to make a dio (disk input/output) which adds new devices as they
>> > are mounted. So, for instance, it would have /dev/sda detected as the 
>> > system
>> > hard disk, and it would append the data for /dev/sdX in case an external
>> > drive was to be mounted.
>> >
>> > How would you do that? Looking at 'mount' every few seconds, looking at
>> > /media/xxx, making the udev rules call a bash script with 
>> > awesome-client...?
>> >
>> > Thanks!
>> >
>> > Thanks!
>
>
>
> --
> Gruß Jörg
>

--
To unsubscribe, send mail to [email protected].

Reply via email to