View previous topic :: View next topic |
Author |
Message |
rnilssen
Joined: 03 Dec 2008 Posts: 2
|
Posted: Wed Dec 03, 2008 1:50 am Post subject: Grouping of mount configs |
|
|
Hi,
I have for a long time hoped to see a feature that allows common configuration directives for a group of mountpoints. In a mannerism similar to whats shown below. There are two aspects with this approach. The first and obvious one is as a shorthand keeping things tidy. One can argue that theres always the option to default to the global defaults. However the feature Id love to see is the ability to in the example below limit max-listeners to 100 for the entire mount-group regardsless of what mount clients connect to. I realise that this might not be as easy as it sounds since resource ralated directives should apply as a total for all mounts in the group.
What do you think? Is this doable and desireable?
Example;
<mount-group>
<username>source</username>
<password>somepassword</password>
<max-listeners>100</max-listeners>
<mount>
<mount-name>/radio-high</mount-name>
<burst-size>65536</burst-size>
<hidden>1</hidden>
</mount>
<mount>
<mount-name>/radioo-low</mount-name>
<burst-size>65536</burst-size>
<hidden>1</hidden>
</mount>
</mount-group> |
|
Back to top |
|
|
liteFun
Joined: 13 Jan 2006 Posts: 79
|
Posted: Thu Dec 18, 2008 2:55 pm Post subject: |
|
|
I'd like it to be like:
<mount-group>
<!-- Global group settings -->
<username>source</username>
<password>somepassword</password>
<max-listeners>50</max-listeners>
<hidden>0</hidden>
<!-- Mount specific settings, including mountpoints for the group(s) -->
<mount>
<mount-name>/radio1</mount-name>
<hidden>1</hidden>
<max-listeners>150</max-listeners>
</mount>
<mount>
<mount-name>/radio2</mount-name>
</mount>
<mount>
<mount-name>/radio3</mount-name>
<password>somepassword2</password>
</mount>
</mount-group> |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Dec 18, 2008 4:42 pm Post subject: |
|
|
At the moment, there's no group concept but I suppose the stats engine could be used however you would need some sort of group name.
karl. |
|
Back to top |
|
|
rnilssen
Joined: 03 Dec 2008 Posts: 2
|
Posted: Fri Dec 19, 2008 2:42 pm Post subject: |
|
|
My incentive for suggesting this was in the first place to get a way to actually limit the total amount of connections for a set of mounts. Say three mounts that may not have more than say 100 connections in total. While another set of mounts may have 200 total between them.
Deriving from such an idea was the ability to "group" certain mounts. |
|
Back to top |
|
|
|