[drraw-users] Suggestion: change follow=>1 to follow_fast=>1 to allow for symlinking of directories
Max
perldork at webwizarddesign.com
Sun Apr 19 10:42:17 MDT 2009
Christophe,
That sounds reasonable to me. So a default setting of foillow with
options to set to foillow skip or follow fast.
Option could be named
$symlink_behavior = 'follow';
With documentation showing the two other possibilities, would be easy
enough to then just use $symlink_behavior in the code in place of the
current hard-coded key in DBfind's find() call.
On 4/19/09, Christophe Kalt <kalt at taranis.org> wrote:
> Sounds to me like the real choice given should be between follow_fast=>
> and follow_skip=>1
>
> The current behaviour isn't really useful, except may be to make people
> aware of the choice they should be making. So may be given a third
> choice as default (follow=>1), that way people with duplicates will know
> they have to choose something.
>
> I do agree that a new configuration setting is desirable.
>
> Christophe
>
> On Sat, Apr 18, 2009 at 23:48, Max <perldork at webwizarddesign.com> wrote:
>
>> Hi,
>>
>> I have a few RRD directories that are named for the fully qualified
>> domain name (FQDN) of the server. I also like to have these servers
>> have short names that make it much easier to get to them, so I symlink
>> the directories of the FQDN names to short names.
>>
>> With follow=>0, File::Find dies with an error of "2 names found for
>> NNNN" when it encounters this situation.
>>
>> If I change follow=>1 to follow_fast=>1 then Drraw acts as expected,
>> showing both names in lists for templates etc.
>>
>> So, I would like to propose that follow be changed to follow_fast or
>> an option be added to the configuration code to allow the end user to
>> select which behavior they would prefer.
>>
>> Regards,
>> Max
>>
>> _______________________________________________
>> drraw-users mailing list
>> drraw-users at lists.taranis.org
>> http://lists.taranis.org/mailman/listinfo/drraw-users_lists.taranis.org
>>
>
More information about the drraw-users
mailing list