On Fri, Nov 26, 2010 at 11:53 AM, Dejan Muhamedagic <[email protected]> wrote:
> Hi,
>
> On Fri, Nov 26, 2010 at 11:13:35AM +0100, Andrew Beekhof wrote:
>> On Fri, Nov 19, 2010 at 4:29 PM, Matthew Richardson
>> <[email protected]> wrote:
>> > Please find attached a patch to the pacemaker SysInfo RA.
>>
>> I like the idea, but we probably need to keep the use of expr (
>> instead of $(()) ) for compatibility with non-bash systems.
>
> $(()) is not a bashism. The patch looks good to me.

Oh?
I thought we used $(()) originally and horms "fixed" it for debian.
Perhaps I'm thinking of something else.

>
> Thanks,
>
> Dejan
>
>> > This patch adds 2 new features:
>> >
>> > - Allow a list of filesystems/devices to be queried for free space
>> > ('disks' param)
>> >
>> > For e.g. disk="/dev/sda1 /tmp /home/user", these will be reported as
>> > $disk_free with some munging of slashes:
>> > dev_sda1_free=...
>> > tmp_free=...
>> > home_user_free=...
>> >
>> > - Allow the specification of the unit to report disk-free attributes in
>> > ('disk_unit' param) - accepts B,K,M,G,T,P (defaults to G as before).
>> >
>> > Note: The root_free attribute is still created as before, even if no
>> > 'disks' are specified, and will continue to default to G unless
>> > 'disk_unit is specified.
>> >
>> > Please let me know if you find any bugs, errors or omissions with this
>> > patch.
>> >
>> > Thanks,
>> >
>> > Matthew
>> >
>> >
>> > --
>> > The University of Edinburgh is a charitable body, registered in
>> > Scotland, with registration number SC005336.
>> >
>> > _______________________________________________
>> > Linux-HA mailing list
>> > [email protected]
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> > See also: http://linux-ha.org/ReportingProblems
>> >
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to