[X4U] Re: SMART failure and Merry Holidays

Crandon David tabdave at comcast.net
Sat Dec 25 09:58:24 PST 2004


Thanks for the applescript Andy. I'm not sure though if this will 
automatically tell me...or do I have to manually run the script?

David


On Dec 24, 2004, at 5:56 PM, Andy Fragen wrote:

> *This message was transferred with a trial version of CommuniGate(tm) 
> Pro*
> <applescript>
> set disklist to do shell script "/usr/sbin/diskutil list | grep /dev/"
> set EachDisk to words in disklist
> repeat with CurrentDisk in EachDisk
> 	if CurrentDisk as text is not equal to "dev" then
> 		try
> 			set status to do shell script "/usr/sbin/diskutil info " & 
> CurrentDisk
> & " | grep SMART"
> 			if not (status contains "Verified" or status contains "Not 
> Supported") then
> 				display dialog "A hardware problem has been detected on your hard
> drive:" & return & return & status
> 			end if
> 		on error errStr
> 			--Don't Worry about disks that don't have info about SMART Status
> 			--display dialog errStr
> 		end try
> 	end if
> end repeat
> </applescript>
>
> -- 
> Andy Fragen
>
> On Fri, Dec 24, 2004, Crandon David said:
>
>> Hello Everyone,
>>
>> Merry Holidays to all.
>>
>> Can anyone tell me if the SMART hard disk monitoring that's built into
>> Panther is supposed to notify me automatically if it detects a problem
>> with the drive? Is there a preference pane for it somewhere?
>>
>> Thanks,
>>
>> David Crandon
>>
>>
>>
>
>
> _______________________________________________
> X4U mailing list
> X4U at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x4u
>



More information about the X4U mailing list