109
edits
Joel Reymont (talk | contribs) |
|||
| Line 176: | Line 176: | ||
./firefox -P YourProfileName -no-remote file:///..../startup.html#`python -c 'import time; print int(time.time() * 1000);'` | ./firefox -P YourProfileName -no-remote file:///..../startup.html#`python -c 'import time; print int(time.time() * 1000);'` | ||
</code> | </code> | ||
The following is specific to Mac OSX and is required to evict Firefox code pages from memory and clear the Unified Buffer Cache (UBC). <code>purge</code> does NOT do this. | |||
<code> | |||
FF=/tmp/firefox | |||
mkdir $FF > /dev/null 2>&1 | |||
umount $FF > /dev/null 2>&1 | |||
mount_hfs /dev/disk1s2 $FF | |||
$FF/Minefield$*.app/Contents/MacOS/firefox-bin -no-remote -foreground file://$FF/startup.html#`python -c 'import time; print int(time.time() * 1000);'` | |||
</code> | |||
This assumes that your removable media is at /dev/disk1s2. | |||
First, mount you external USB HD normally and use <code>df</code> to see what device is being used. Then eject the drive using <code>diskutil umount /Volumes/YourDrive</code> and you are set. | |||
Do not eject the device using the Finder as that will not make it available at /dev/disk1s2 or wherever it was. | |||
==Test Coverage== | ==Test Coverage== | ||
edits