"You may recall a post we did a long long time ago, in
a galaxy just down the block, regarding finding space hogs on
multiple overlay-mounted filesystems. This little way to hide bits
of information works relatively along the same lines. The one
serious limitation it has is that, while you'll be secretly storing
your information, you won't be hiding the actual disk space it
consumes, so this method of packing away all the stuff you're not
supposed to have on the company's production web server has its
limitations.
"For today, we'll use a /usr/local mount point that we have on a
Solaris machine (independent of the /usr mount point) to
demonstrate.
"Step 1: Take a lay of the land. In order for this to work, you
need to have enough space to stow away what you need to and,
hopefully, enough space to make your addition barely noticeable.
Our setup isn't bad, especially since the "actual" filesystem
that's going to be impacted will be the /usr filesystem underneath
/usr/local (If it were /usr/local, the change might be noticed
since the filesystem is so "empty")"