On 10/11/06, Robert Citek <[EMAIL PROTECTED]> wrote: > Ed Howland wrote: > > The script (Perl) needs to be developed and tested on Linux, deployed > > on OSX. There is no way to test on the OSX server (don't have 2 of > > them) > > This is where a VM would come in handy. Are there VMs that can run an > OSX server as guest on a Linux host? Parallels goes the other way > (linux on osx, x86 only) and neither VMware nor Xen support OS X, AFAIK. >
I should explain, the fact the the target is OS X is just incidental. It could be anything. The main point is that my laptop cannot have these pathnames from root, but a chroot point can. > Possibly another way is to use an overlay (aka union) filesystem. The > process would be something like this: > > 1) create original OS X filesystem > 2) create blank filesystem image > 3) mount blank filesystem image as union, overlaying OS X filesystem > 4) chroot and run setup/create scripts > 5) exit chrooted environment > 6) unmount union filesystem > 7) mount filesystem image via loopback > 8) delete files in filesystem image > 9) unmount filesystem image > 10) repeat from 3 This is an interesting idea. But what should happen is this: 1,2,3, Snapshot 4. Then run delete scripts Compare state of current filesystem with snapshop. Exact files, dirs sizes and contents, (but not timestamps.) ...time passes... then 3,4 Check current v. (previous) snapshop Then 5,6,9 when done. > > > An apt-cache search for unionfs on Ubuntu shows a few hits. Thanks, > > > Regards, > - Robert > Another idea I had was to just use a blank USB memstick that I keep erasing/setung up with a simple script. Ed P.s. if I had a laptop like yours, this would be dirt simple. But I don't usually use extra filesystems. -- Ed Howland http://greenprogrammer.blogspot.com _______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
