Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


First, I'm going to do manually;

PHASE 1: Inital Ram Disk

1.- Create Ram Disk & symlink to workdir
$ diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount
ram://12000000`
$ ln -s /Volumes/RAM\ Disk /path_to_git_folder/workdir

2.- Build

3.- Backup Ramdisk => dmg file
$ mount
. . .
/dev/{device number} on /Volumes/RAM Disk (hfs, local, nodev, nosuid,
noowners, mounted by tb)
$ sudo hdiutil create /path_to_dmg_file/RAM\ Disk.dmg -srcdevice
/dev/{device number}

4.- Delete Ram Disk:
$ umount -f /Volumes/RAM\ Disk
$ hdiutl detach /Volumes/RAM\ Disk

PHASE 2

5.- Do [1]

6.- Restore dmg file => RAM\ Disk Volume
$ sudo asr restore -source /path_to_dmg_file/RAM\ Disk.dmg --target
/Volumes/RAM\ Disk -noprompt -noverify -erase

7.- Repeat [2]

8.- Do [3]

2015-02-23 22:55 GMT+01:00 Norbert Thiebaud <nthiebaud@gmail.com>:

On Mon, Feb 23, 2015 at 3:44 PM, Robert Antoni Buj i Gelonch
<robert.buj@gmail.com> wrote:
Does we still use [1] for OS X tinderboxes?

nope.. not for 3 years or so...

but its replacement 'tb' is quite flexible and I have used the
possibilities to customize the different 'phases' to indeed use a
ramdisk (or do pretty much anything you fancy really)

I also use a massive ramdisk (23GB)  to build release version for the
32 bits release... not for fear of harming my ssd, but because
localization build where horrendously slow without it (14 hours build
=> 2 hours build), due to HFS sucking very hard.

Norbert




-- 
http://about.me/rbuj

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.