 |
 |
Holy trinity?
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Mar 2002
Location: Ft. Lauderdale
Status:
Offline
|
|
I remember reading a post about the "holy trinity" of mac osx repair, it was 3 steps of unix commands to fix your mac in the terminal, can someone please repost them?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
Maybe you're talking about the cron scripts. Go download MacJanitor if you want an easy way to run them manually. Install anacron (via fink, or google for premade packages) if you don't want to have to run them manually at all.
|
|
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
I'm assuming they mean
1) Disk First Aid
2) Repair Permissions
3) Optimize (Prebinding)
#3 is totally unnecessary -- 10.2 and higher does it automatically any time it is necessary.
#2 helps sometimes for specific problems
#1 the OS does automatically at startup.
tooki
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally posted by tooki:
1) Disk First Aid...
#1 the OS does automatically at startup.
Only after a crash, and not at all if journaling is on.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: Milan, Europe
Status:
Offline
|
|
BTW, OnyX is also a good - and free - overall maintenance program...
|
The freedom of all is essential to my freedom. - Mikhail Bakunin
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status:
Offline
|
|
Originally posted by CharlesS:
Only after a crash, and not at all if journaling is on.
I didn't know that about journaling... interesting.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
Hrmm, maybe you are talking about these:
sudo periodic daily weekly monthly
sudo diskutil repairPermissions /
sudo update_prebinding -root / -force
|
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2001
Location: Wasilla, Alaska
Status:
Offline
|
|
Holy Trinity:
Onions
Celery
Green Pepper
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status:
Offline
|
|
Originally posted by CharlesS:
Only after a crash, and not at all if journaling is on.
You are also far less likely to have directory damage if journaling is turned on. When a journaled drive is mounted that was not unmounted correctly (i.e. crash, or you unplugged it without unmounting it), the journal is replayed. This journal has all the info of what changes were being made to the drive when it was incorrectly unmounted. Therefore, it knows where the errors are and fixes them.
|

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
| |
|
|
|
 |
|
 |
|
Admin Emeritus 
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Note that the HFS+ journal stores only changes to the directory. It does not journal changes to file contents.
It also doesn't replay changes -- it undoes any changes it finds in the journal.
Basically, this is how journaling works:
A change is about to be made to the disk. The file system creates a little Post It note to itself, outlining what's about to be done. When it finishes doing those things it removes the Post It note.
When the computer restarts, if checks to see if any Post Its are present. If so, it assumes that the operations listed in the journal may not have been successfully executed, and undoes all those changes to the directory, thus preventing directory corruption. In normal operation, the system should never find any Post Its.
tooki
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|