# from David Landgren
# on Monday 08 September 2008 13:09:
>>>I've played with unionfs on debian
>>> etch and I think it would do everything you need (possibly even
>>> from within a chroot) unless your needs involve a few particular
>>> things with nfs, which is where the aufs "new hotness" comes in.
>>
>> Unfortunately these are Linux-only, it seems. I would love to have a
>> _usable_ stacking filesystem on FreeBSD.
>
>I thought they got unionfs working on FreeBSD 7.0, no? Or it's still
> broken?
With unionfs, you couldn't export a stacked mount, but supposedly this
is not the case with aufs. So, you should be able to have your linux
box babysit the mac/bsd over nfs (subject to whatever flaws nfs
introduces.) Some other networked filesystem perhaps? Of course, that
gets rather elaborate.
Does anything *not* run through ExtUtils::Install? Perhaps this is a
good excuse to visit that with the sanity stick? Might need a time
machine though -- but a caller()-sensitive monkeypatch on
File::Copy::copy() would seem to do the trick for anything which is
behaving properly (and possibly you could detect the misbehavings from
there and/or system() - too bad you can't redefine qx().)
But if it's a chroot, one should be able to replace everything in $PATH
with a version that logs the activity before calling the real deal?
There's also dtrace/strace. And actually it would be nice to know if
anything on CPAN is attempting to upload my /etc/passwd or other
such "bad things" which don't appear as changed files in a stacked fs.
--Eric
--
But you can never get 3n from n, ever, and if you think you can, please
email me the stock ticker of your company so I can short it.
--Joel Spolsky
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------