Indeed hit the same problem on finding that someone in the Linux world thought 
it fun to name an OS directory 'core'.  We just are having to stop excluding 
'core' and take the hit on all those dump files getting backed up.  Of course 
what we only need to do that on Linux, I don't think any other UNIX vendor has 
made the same issue.

I think it is less painful than using include files.  It may prompt us to look 
see why there are core files at all, maybe create cron jobs to clean them out 
when 5 years old...

William D L Brown

-----Original Message-----
From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of David Rock
Sent: 29 August 2011 01:31
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] exclude_list - exclude core file but not core directory

Hello,

I'm dealing with exclude_list for the umteenth time, and stumbled into a
classic problem.

The examples in the docs have always shown excluding "core", which
excludes all core files AND core directories.  Because of how you define
things, it is possible to exclude just directories by appending / (e.g.,
core/), but there is no corresponding way that I can find to exclude
ONLY files named core.

I can more or less accomplish what I need to by using an include_list
that contains "core/", but this will obviously add processing overhead
because it's going to build the initial list, drop excluded stuff, then
go back through all the excluded directories and look for all
directories named "core".  I especially don't want the include list to
go back and re-add any core directories under other directories that I
have also excluded.

For example:
exclude_list:
core
/dev
/sys
/mnt/auto
/var/mqm/
/u[0-9]*/

If I have an include_list that looks like this:
core/

It will pick up any directories named core under:
/dev
/sys
/mnt/auto
/var/mqm/
/u[0-9]*/

Which I do NOT want it to do.


Does anyone know if it's possible to define JUST files named core in the
exclude_list, so that an include_list is not necessary?  If an
include_list is the only way to do it, is it possible to avoid the
re-adding under the directories I _do_ want to exclude?

Thanks.

--
David Rock
dave...@graniteweb.com
_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


________________________________

This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

Reply via email to