It seems, that you can't use inotify to watch /proc/mounts for changes:
http://stackoverflow.com/questions/1113176/how-could-i-detect-when-a-directory-is-mounted-with-inotify
But I was also wrong, when I said you can use dio alone to detect
mounted partitions.
The only way, it could work with dio a
That's very interesting, and I know dio can get any info from any partition or
device. But the question is: How do I make it show up the data just for the
mounted partitions?
Thanks!
"Jörg Thalheim" wrote:
This would block awesome.
But there a lua-bindings[1] avaible, which provide a non-bloc
This would block awesome.
But there a lua-bindings[1] avaible, which provide a non-blocking way.
Logwatcher[2] is a example for this.
But this is not needed because all partititions/disk are already
stored in the table, you got back from dio.
[1] http://www3.telus.net/taj_khattra/luainotify.html
[
You can use inotifywait (from inotify-tools package in Arch) for
watching /proc/mounts.
--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Jörg Thalheim :
> -- Forwarded message --
> From: Daniel Martí
> Date: 2011/10/29
> Subject: Re: Widget updating
> To: jthalh...@gmail.com
>
>
> Exactly, yes.
>
> "Jörg Thalheim" wrote:
>>
>> Do you want dio from vicious automat
Sorry, forgot to send it to the list again :-)
"Jörg Thalheim" wrote:
-- Forwarded message --
From: Daniel Martí
Date: 2011/10/29
Subject: Re: Widget updating
To: jthalh...@gmail.com
Exactly, yes.
"Jörg Thalheim" wrote:
>
> Do you want dio from
-- Forwarded message --
From: Daniel Martí
Date: 2011/10/29
Subject: Re: Widget updating
To: jthalh...@gmail.com
Exactly, yes.
"Jörg Thalheim" wrote:
>
> Do you want dio from vicious automatic show the disk io about new
> devices as they are added to the sys
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í :
> 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 detec
On 28.10.2011 21:21, Daniel Martí wrote:
> 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 externa
Hi Daniel,
Wondering if you have looked into autofs? I am not sure a widget would
be the best solution to your problem.
Arch has a decent wiki: https://wiki.archlinux.org/index.php/Autofs
On Fri, Oct 28, 2011 at 3:21 PM, Daniel Martí
wrote:
> Dear awesome fellows,
>
> I'm trying to make a dio (d
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
11 matches
Mail list logo