Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > What is "Optimizing Volume"?

What is "Optimizing Volume"?
Thread Tools
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status: Offline
Reply With Quote
May 5, 2004, 03:46 PM
 
Okay, I have always wondered about this so I'm posting it here, so that I may be enlightened.

When installing any update (through the Software Update) what is it extacly that the OS is doing when it says "Optimizing Volume" and why does it take so long sometimes (I have TiBook 550 with Panther).
     
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status: Offline
Reply With Quote
May 5, 2004, 04:13 PM
 
     
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status: Offline
Reply With Quote
May 5, 2004, 06:31 PM
 
It drives me crazy when a little app does it...
     
insha  (op)
Senior User
Join Date: Nov 2003
Location: Middle of the street
Status: Offline
Reply With Quote
May 5, 2004, 07:17 PM
 
gorickey to the rescue once again.

mitchell: I know. I hate it takes so long...
     
Professional Poster
Join Date: Nov 2000
Location: Tasmania, Australia
Status: Offline
Reply With Quote
May 5, 2004, 11:45 PM
 
It wouldn't bother me so much if the "3 minutes remaining..." message was actually calculated to include the optimising!!! What really is the point of telling us the time remaining, if that time does not have anything to do with the actual time it takes to complete the entire process?
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
May 6, 2004, 05:08 AM
 
Originally posted by insha:
gorickey to the rescue once again.
yeah, he read that here
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
May 6, 2004, 05:28 AM
 
Optimizing (prebinding) can take ages, then there's the "standard practice" of having to do repair permissions after an update. Grrrr!
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
May 6, 2004, 09:17 AM
 
I am working on a set of scripts for semi-automatically updating a set of Macs on a subnet. Semi-automatic because I don't want to apply updates as _soon_ as they are available... I prefer to wait a bit and see if anyone else has problems and to test them locally on a test box.
I am still in the "collecting a set of commands stage" to see what will work.

I have:
Code:
softwareupdate -l
Lists available updates.

Code:
softwareupdate -a -d
Downloads all available updates to /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/ but exits with a "Bus error"... but it does work.

Code:
installer -pkg /tmp/0/TemporaryItems/com.apple.SoftwareUpdate/* -target /
Which installs the updates just downloaded and does it really fast.

Code:
update_prebinding -root /
Which takes a very long time, spits out lots of errors, and I am not sure if it is really neccessary. I am not sure if this is the correct command or synonym for the "Optimizing" done by SoftwareUpdate.app. Any thoughts?
-DU-...etc...
     
Grizzled Veteran
Join Date: May 1999
Location: Seattle
Status: Offline
Reply With Quote
May 6, 2004, 08:08 PM
 
Originally posted by ginoledesma:
Optimizing (prebinding) can take ages, then there's the "standard practice" of having to do repair permissions after an update. Grrrr!

yeah what is up with that? Are the installers so bad that they mess up permissions every time? Or should Apple just include a script to automatically repair permissions durring startup following a Software Update initiated reboot? That alone would be a blessing.
1.25GHz PowerBook


i vostri seni sono spettacolari
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
May 6, 2004, 08:26 PM
 
What I always wanted to know is what is happening when it says "The installer need to run a program". What's that?

Chris
     
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status: Offline
Reply With Quote
May 6, 2004, 08:47 PM
 
Originally posted by chabig:
What I always wanted to know is what is happening when it says "The installer need to run a program". What's that?
Not sure of the "app"; however, it needs to be run and can be set to do many things. The most common of which is to make sure you are not running another/same version of the program you are installing...
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
May 6, 2004, 09:06 PM
 
Originally posted by chabig:
What I always wanted to know is what is happening when it says "The installer need to run a program". What's that?

Chris
That's because of the "Internet-enabled disk image" thing that Apple has introduced that allows a disk image to automatically open a .pkg installer when downloaded by Safari. If it just ran the script to check for older versions without asking first, you could have a browser redirect point you to a .dmg file, which would get downloaded, the .pkg would automatically run, the script would automatically launch, and BAM! Virus.

With the way Apple has done it, it works more like this: You can have a browser redirect point you to a .dmg file, which would get downloaded, the .pkg would automatically run, the message saying that the installer needs to run a program would pop up, the user would click "Continue" without reading it, the script would get launched, and BAM! Virus. As you can see, this is a great leap forward for security.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
May 6, 2004, 09:41 PM
 
I see. Now Apple can blame the user...

I guess the it does serve as a precaution, though. If you know you didn't download an installer, don't hit the continue button.

Chris
     
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status: Offline
Reply With Quote
May 6, 2004, 09:42 PM
 
Originally posted by CharlesS:
That's because of the "Internet-enabled disk image" thing that Apple has introduced that allows a disk image to automatically open a .pkg installer when downloaded by Safari. If it just ran the script to check for older versions without asking first, you could have a browser redirect point you to a .dmg file, which would get downloaded, the .pkg would automatically run, the script would automatically launch, and BAM! Virus.

With the way Apple has done it, it works more like this: You can have a browser redirect point you to a .dmg file, which would get downloaded, the .pkg would automatically run, the message saying that the installer needs to run a program would pop up, the user would click "Continue" without reading it, the script would get launched, and BAM! Virus. As you can see, this is a great leap forward for security.
[Most Informative Post of the DayŽ]

Thanks CharlesS...

[/Most Informative Post of the DayŽ]
     
Posting Junkie
Join Date: Oct 2001
Location: South of the Mason-Dixon line
Status: Offline
Reply With Quote
May 6, 2004, 11:01 PM
 
If the permissions are broken - how does the OS know what they're supposed to be? Does it take an educated guess?

How come RedHat and WinXP never need their permissions repaired?
     
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
May 6, 2004, 11:09 PM
 
If the permissions are broken - how does the OS know what they're supposed to be?
Good question. I think it uses the receipts that are left over following software installations. But why they sometimes get messed up...I don't know? I do think I've had super stability since I installed Macaroni, which runs the daily, weekly, and monthly unix scripts, and repairs permissions on the fly once a week.

Chris
     
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
May 7, 2004, 07:34 AM
 
Originally posted by Spliffdaddy:
If the permissions are broken - how does the OS know what they're supposed to be? Does it take an educated guess?

How come RedHat and WinXP never need their permissions repaired?
It gets them from the package receipts.

Although IMHO, people are way too zealous around here about repairing permissions.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:38 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2