Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.6 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

How to exclude a partition from being inventoried (Linux)?

Hi,
I have a share mounted on the server and don't want that to be inventoried. Could I exclude it from OCS inventory in some way?

OCS Server: v.2.1.2
OCS Client: OCS-NG_unified_unix_agent_v2.1rc1
OS Client: Ubuntu 12.04.5 LTS

/Jonatan
in OCS Inventory NG agent for Unix by (120 points)

1 Answer

0 votes
Hello,

I don't know if you can exclude something from inventory but here is something that might work :

- be sure owner and group of OCS agent is different from owner of partition

- change access rights (rwx for owner and group, nothing for the other)

chown youruser:yourgroup /your/partition

chmod 770 /your/partition
by (4.9k points)
 
Powered by Question2Answer
...