PDA

View Full Version : OSX.2 Question




GyroFX
Oct 3, 2002, 03:16 AM
I know this Question has been answered in the past before but I forgot the procedure.

How do you fix a problem with the HD on startup again?

thanx



Lz0
Oct 3, 2002, 06:15 AM
10.2 will check your HD on startup and fix any problems.

But I'm sure that depends on the problem.

sparkleytone
Oct 3, 2002, 12:29 PM
hold down cmd+s on bootup to get into singleuser mode. once you are in single user mode run "fsck -y" until it finds no errors. then type "sync;sync;sync;reboot"

mmcneil
Oct 3, 2002, 10:22 PM
Originally posted by sparkleytone
"sync;sync;sync;reboot"
Now that's a real Unix user:D

Actually, I believe reboot includes sync, but it takes so little time to be safe:cool:

MacBandit
Oct 3, 2002, 10:29 PM
Originally posted by sparkleytone
hold down cmd+s on bootup to get into singleuser mode. once you are in single user mode run "fsck -y" until it finds no errors. then type "sync;sync;sync;reboot"

I've never been told by any literature anywhere to type the sync command before typing reboot. I have always just ran fsck -y until it came up clean then typed reboot. What does the sync command do anyhow?

scem0
Oct 3, 2002, 10:38 PM
Wow, this conversation is way over my head :D.

gbojim
Oct 3, 2002, 10:50 PM
Originally posted by MacBandit


What does the sync command do anyhow?

Sync flushes the disk write cache buffers to disk.

MacBandit
Oct 3, 2002, 10:54 PM
Originally posted by gbojim


Sync flushes the disk write cache buffers to disk.

Cool, thanks I will certainly do that in the future.

mmcneil
Oct 3, 2002, 11:10 PM
One of the reasons OS X is relatively stable is that Apple has implemented a periodic sync command in something called "update" - ran into it when I was exploring /etc/rc