🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #12034

Re: "TempOptil48" (it's SUM TuneUp)

#12034
From: The Bounty Hunter
Date: Fri, 04 May 1990 00:31
35 lines
2154 bytes
>I keep some big files in one of my folders and sometimes TempOpti148
>shows up there.  The file shows up periodically.  The files in the
>folder are locked, and maybe MicroSoft Word makes the file.  Also,
>whenever I am tuning up the disk with SUM, the files cannot be
>defragmented for some reason (because they are locked?)

I thought I'd answered this one recently, but I guess I didn't.

TempOptilnnnn files are created by SIM TuneUp. It's not a virus, it's not a
bug (maybe a misfeature), it's not a problem. 

If you have a locked file that is fragmented, when TuneUp tries to make it
contiguous it does so by creating a temporary file and copying the current
file to it. It then deletes the old file and renames it -- this way, if
something happens during the process the old file isn't destroyed.
Unfortunately, if the file is locked, the attempt to delete it fails and the
other copy of the file is left around.

Easy answer: unlock any file that TuneUp says it can't defragment in the log
(you do read the logs, don't you?) and run TuneUp again. Then lock it again.

One strange note on this: TuneUp can't defragment files that are locked, but
it will happily relocate locked files to optimize disk space if they're
contiguous. The former is evidently done through the HFS filesystem calls
which pay attention to the locked bit, and the latter goes around the OS to
physically move stuff around.


-- 

Chuq Von Rospach   <+>   chuq@apple.com   <+>   [This is myself speaking]

I regret to announce that--though, as I said, eleventy-one years is far too
short a time to spend among you--this is the end. I am going. Good-bye.
		-- Bilbo
Technical Details
Message-ID: <40721@apple.Apple.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!chuq
References: <150@oiscola.Columbia.NCR.COM> <28889@ut-emx.UUCP> <1990May3.074004.16577@dasys1.uucp> <50206@lanl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!chuq
From: chuq@Apple.COM (The Bounty Hunter)
Newsgroups: comp.sys.mac,comp.sys.mac.misc
Subject: Re: "TempOptil48" (it's SUM TuneUp)
Keywords: TempOpti148 GateKeeper
Message-ID: <40721@apple.Apple.COM>
Date: 4 May 90 00:31:27 GMT
References: <150@oiscola.Columbia.NCR.COM> <28889@ut-emx.UUCP> <1990May3.074004.16577@dasys1.uucp> <50206@lanl.gov>
Organization: Dotty Eye's PI's
Lines: 35