|
|
Force fsck on headless servers and remote macs
Always a multitude of ways, so if I might chip in my 2 cents on the comments
This does something similar, except it boots to single user mode, using the .profile for root check it is single user mode, runs fsck, mounts the drive, writes the result to a file, then deletes the .profile, sure the fsck could be more elegantly redirected or tee'd but take it for what it is #modify nvram for single user
the reboot at the end is to immediately reboot the client computer, useful for sending via ARD, but be careful all commands must be run as root of course :)
Force fsck on headless servers and remote macs
Your (nice btw) method is missing a "touch /var/log/fsck.log". Appending to /var/log/fsck.log using >> will result in an error if /var/log/fsck.log does not exist.
Force fsck on headless servers and remote macs
Since when?
Force fsck on headless servers and remote macs
I have found this extremely useful. I want to write this into an applescript that can run on a local machine like this: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.25 seconds |
|