ADNET Ghislain wrote:> Hello,
>
> I was wondering while playing with the mount type if there is a way to
> just add options to mountpoint without touching anything else.
>
> For exemple :
>
> # prevent kernel bug
> mount { proc:
> options => [
''noexec'',''nosuid'']
> }
>
>
> or
>
> mount { var:
> options => [
''noatime'',''usrquota'']
> }
>
> as i want to add and not replace, is something like
>
> mount { var:
> options => [
''noatime'',''usrquota''] + mount[var].options
> }
>
>
> possible ? what if there is duplicate like if /var allready has noatime ?
>
You cannot currently do that, unfortunately. It could be added -- users
can specify whether the group list is inclusive, meaning it specifies
all of the groups the user should be a member of, or if the groups are
just additive. It wouldn''t be hard to do something similar with
mounts.
It''d be nice to have a generic way to do this, but it''s not
really a
problem for most types.
If this is important to you, then file an enhancement request and I''ll
see what I can do.
--
If two men agree on everything, you may be sure that one of them is
doing the thinking. -- Lyndon B. Johnson
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com