Category Archives: Apple

Mac OS X “noatime” settings for 10.6

 

Enabling this option increse filesystem performance.
Create a file named for example “com.hdd.noatime.plist” in the directory /Library/LaunchDaemons
Edit the file:
nano /Library/LaunchDaemons/com.hdd.noatime.plist

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"

"http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>com.hdd.noatime</string>

<key>ProgramArguments</key>

<array>

<string>mount</string>

<string>-vuwo</string>

<string>noatime</string>

<string>/</string>

</array>

<key>RunAtLoad</key>

<true/>

</dict>

</plist>

 
 Save the file, and reboot. To verify you setting type in terminal mount
and you see similar:
/dev/disk0s2 on / (hfs, local, journaled, noatime)

Turning off paging Mac OS X

Open Terminal:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

Reboot system, after delete swap file:

sudo rm -f /private/var/vm/swapfile*

If you want to start again:

sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

Install USB to Serial adapter Mac OS X 10.6.x

Step by step how to install USB to serial RS422 adapter on Mac OS X 10.6.x with Minicom.

  1. you need one adapter with Prolific IC
  2. download the driver ( original source) and install
  3. access the network properties window to enable the usbtoserial device it found
  4. load the kernel extension:  ” sudo kextload /System/Library/Extensions/ProlificUsbSerial.kext “
  5. download Minicom compiled for Mac OS X ( original source ) and install
  6. start Terminal find minicom and run ” ./minicom -s ” ,  Serial port setup > Serial Device  set /dev/tty.usbserial
R S S
T w i t t e r
T a g s
S e a r c h