Categories
Macintosh

Noatime

MacOS (like other unix-based systems) by default records last access time for every file. I.e. every time you read a file, a write is made on the filesystem to record this action. There is no point in doing it and no side effects if you disable that by mounting the root filesystem with noatime flag set.

Restart the machine.

You can verify that it worked by executing the following in Terminal:

mount | grep ” / ”

You should get the following output (i.e. see noatime in the list in parentheses):

/dev/disk0s2 on / (hfs, local, journaled, noatime)

Categories
Macintosh

Blank icons in Mac Dock?

Try his command via the terminal. It fixed two missing icons in my dock.

/System/Library/Frameworks/CoreServices.framework/ \
Versions/A/Frameworks/LaunchServices.framework/Versions/ \
A/Support/lsregister -kill -r -domain local -domain system -domain user

Categories
Macintosh

Enable TRIM on a Mac Third-Party SSD Drive

See this link for instructions. Trim Enabler is an app to enable TRIM, but a feud is ongoing between these two camps.

Categories
Macintosh

Convert text to an audio file on your Mac

Using terminal:

say -f ~/Desktop/barker.txt -o ~/Desktop/barker.aiff

Here’s how this works:

  • Save the text you want to translate into an audio file as a txt file (barket.txt in my example).
  • Feed that text file to the say command, using the “f” flag.
  • Convert the resulting AIFF file into an MP3 in iTunes. -o ~/Desktop/barker.aiff is saying to output the barker.aiff file to my desktop.
  • Copy to iPod.
Categories
Macintosh

Force Mail in 10.6 to only copy e-mail addresses

In Leopard when I copied an email address via the Mail App that’s all that was copied. In Snow Leaopard the person’s name is copied, along with the email address inside of brackets. This change is really annoying in Snow Leopard. Here’s to get back to Leopard goodness.

Quit Mail if it’s running, then enter this command in Terminal:

defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool NO

If you try this and decided you prefer the default version, quit Mail and run this command in Terminal:

defaults delete com.apple.mail AddressesIncludeNameOnPasteboard

Via MacWorld

Categories
Macintosh Uncategorized

Fake Steve Jobs on Google Chrome OS

It’s funny because it’s true. Read it. Pure genius.

Categories
Macintosh

Solid State Drives: The Intel X25-M is king

The only SSD drive that I can recommend at this time, after extensive research, are the X25-M drives from Intel. I have one of them in my MacBook and Mac Pro. They are used for the OS and the applications. I only have the 80GB version, but how I have things set up this works fine for such a small drive. Let me come back to that, but first point you to a few articles. I’m linking to the conclusion pages. You can dig further into them if interested.

Update: August 30th, 2009

Categories
Macintosh

Replacing a Samsung hard drive under warranty

My Mac Pro is configured with four drives. The OS and applications reside on an 80GB Intel X25-M SSD (solid state drive). A 500GB drive act as my “documents” folder to keep the SSD as free as possible. Two Samsung HD103UJ 1TB drives are in a RAID 1 configuration. The system sees this as a single terabyte drive. RAID 1 means that anything copied or deleted from the RAID gets copied or deleted from both drives. I only put the photos and videos I shoot onto these drives.

It’s important to realize that RAID is not backup. But it does give me immediate redundancy. Should one of the RAID drives fail I still have the second drive. I actually have more versions of my photos and videos on two other drives. Theoretically I don’t delete anything from these drives, just add to them. I also do not overwrite anything on these drives.

Well, the failure time has arrived. One of the RAID drives has failed so we’ll see how much of a hassle Samsung puts me through to replace my drive. Samsung is not very clear on registering their drives. You used to be able to register drives online. My 500GB docs drive is also a Samsung and it’s registered online. There is no way to register the newer drives online. They’ve stopped doing that. But they don’t bother to tell anyone.

Categories
Macintosh

Unibody Late 2008 Aluminum 15″ MacBook Pro Fans Gone Wild

Update: After opening a case with Apple about this and then taking it to the Apple Store in Cleveland (Legacy Village) I was able to demonstrate these problems to the Apple Genius and he arranged for me to return the MacBook.

I’ve been using the MacBook over the weekend before I return it on Monday so I can move things off. A new wrinkle has appeared — the MacBook now wants to turn on after being put to sleep or even shut down.

Two nights in a row I shut the MacBook down, only to awake the next morning to discover it had turned itself back on shortly thereafter. “Wake from Bluetooth event” is not enabled. I tried resetting the SMU again and checked power settings to make sure a wake command was not in play.

One guy found that a missing file lead to some instances of MacBook waking from sleep when it’s not suppose to. My MacBook was missing this file but his fix did not work for my MacBook.

This MacBook has some serious issues. Luckily I got in under the 14-day return period. Props to Apple Genius Rex for his help.

Now back to the original post from March 1st:

I can’t figure out the fans on my MacBook Pro. The lowest normal speed for the fans in 2,000 rpm. They will spin up at times for no apparent reason to 5,000 or 6,200 rpm with nothing really taxing the CPU while it’s also pretty cool, usually around the high 30’s or low 40’s celsius.

The other night I was converting a movie with Visual Hub, with the process taking 80% of the CPU and the temp reaching 75 c with the fans staying at 2,000 RPM until about half way through the eight minute conversion. This is a time I would have expected the fans to kick in much earlier than they did.

I have reset the SMC previously with no effect. Coming from a Polycarbonate MacBook this machine is much nosier, but also much cooler running.

Check out the videos I made showing iStat and Activity Monitor during these episodes. Thanks for any feedback. I’m coming to the end of my 14-day return period and wanted to verify if my MBP is operating like others.

Thanks for any feedback.

Categories
Macintosh

Enabling Remote Disc on non-Air Macs

In order for my MacBook to share the DVD on my G5 over the network, I had to add the following commands to the MacBook:

In terminal

defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true

defaults write com.apple.NetworkBrowser ODSSupported -bool true

Simply turning on DVD or CD sharing won’t work without the above commands.

http://forums.macrumors.com/showthread.php?t=455975