f0dder Posted October 31, 2006 Share Posted October 31, 2006 Hey, when using "Mode: build" to create a .iso file, the resulting file is often pretty fragmented. If you, before starting the build, use SetFilePointer to move to the calculated final ISO size, then SetEndOfFile and finally SetFilePointer back to beginning of the file, then file fragmentation will be as small as possible. This is almost zero overhead on NTFS filesystems, but takes quite a while on FAT. Link to comment Share on other sites More sharing options...
LIGHTNING UK! Posted October 31, 2006 Share Posted October 31, 2006 Cool, I'll do that for the next version then. I hadn't seen that 'SetEndOfFile' function before now but I knew this kinda of thing was possible because lots of programs seem to allocate the full size needed for a file before actually writing anything. Perhaps I'll limit it to just doing it on NTFS though if there's a lot of overhead on FAT. EDIT: Done it now. Thanks again. Link to comment Share on other sites More sharing options...
JasonFriday13 Posted October 31, 2006 Share Posted October 31, 2006 Yeah, I've noticed this as well, but never really thought about it. This will be good for my data backups (or authoring and burning a dvd - almost never do this though). Link to comment Share on other sites More sharing options...
LIGHTNING UK! Posted October 31, 2006 Share Posted October 31, 2006 lol I can't say as I check my drive's fragmentation level that closely, but I saw it for the good suggestion it was Link to comment Share on other sites More sharing options...
blutach Posted November 1, 2006 Share Posted November 1, 2006 I defragged once! Regards Link to comment Share on other sites More sharing options...
JasonFriday13 Posted November 1, 2006 Share Posted November 1, 2006 I defrag every few weeks. I don't like my files in pieces. Link to comment Share on other sites More sharing options...
SPA_CE Posted November 1, 2006 Share Posted November 1, 2006 I defrag every time i use the computer. (24/7) Link to comment Share on other sites More sharing options...
Shamus_McFartfinger Posted November 1, 2006 Share Posted November 1, 2006 I defragged once! Regards Defrag? What's that? Link to comment Share on other sites More sharing options...
JasonFriday13 Posted November 1, 2006 Share Posted November 1, 2006 It's when all the pieces of the file are rearranged so that they are all in order one after the other. Fragging is when there is not enough room for the file, so it splits it up into fragments to store it. Hence disk speed is slower because the OS has to search for the other pieces of the file. Link to comment Share on other sites More sharing options...
kevdriver Posted November 1, 2006 Share Posted November 1, 2006 Link to comment Share on other sites More sharing options...
JasonFriday13 Posted November 1, 2006 Share Posted November 1, 2006 What? Somthing wrong with my explanation? Whats going on? Link to comment Share on other sites More sharing options...
cornholio7 Posted November 1, 2006 Share Posted November 1, 2006 i think they call it sarrcarrsem in certain parts of europe, other people may say they were taking the piss or pulling your chain or.... Link to comment Share on other sites More sharing options...
polopony Posted November 1, 2006 Share Posted November 1, 2006 I defragged once! Regards Defrag? What's that? What? Somthing wrong with my explanation? Whats going on? good explination ,he knows what it is just doesn't do it (defrag I mean) very often ,I believe I'm due for my yearly defrag also Link to comment Share on other sites More sharing options...
LIGHTNING UK! Posted November 1, 2006 Share Posted November 1, 2006 I defrag my drives quite frequently (if I don't set a schedule to do it for me), but what I mean is that I don't take note of which files are fragmented and which aren't. I do tend to do drive c: a lot more often than my other drives though and I never use c: for building / burning images. So long as all the pretty little blocks are up one end of the drive I'm happy Link to comment Share on other sites More sharing options...
blutach Posted November 1, 2006 Share Posted November 1, 2006 @JasonFriday13 You weren't to know mate. Don't worry about Shamus - when he's not drunk, he's drunk. Regards Link to comment Share on other sites More sharing options...
dbminter Posted November 1, 2006 Share Posted November 1, 2006 Defragging is the remorse you feel after destroying your friend with a hand grenade. So, you go about and pick up his pieces, stitch them back together, using assorted other involuntary donor's parts for those that can't be used/found, and apply Galvanic forces to revive him. Link to comment Share on other sites More sharing options...
SPA_CE Posted November 1, 2006 Share Posted November 1, 2006 (edited) Defragging is the remorse you feel after destroying your friend with a hand grenade. So, you go about and pick up his pieces, stitch them back together, using assorted other involuntary donor's parts for those that can't be used/found, and apply Galvanic forces to revive him. This is true. You can use Galvanic Forces for anything these days. As "dbminter" posted, it can be used when after destroying your friend with a hand grenade. Or also when you are constipated. But use it wisely, Galvanic Forces may cause fissures (somewhere) when used while constipated. Edited November 1, 2006 by dA CLOwN Link to comment Share on other sites More sharing options...
dbminter Posted November 1, 2006 Share Posted November 1, 2006 Galvanic forces also can cause major disruptions in the time line. For instance, when Galvanic forces travelled back to the late 1980's and accidentally changed the past of Megatronic forces. Thus altering the past of said Galvanic forces by preventing those Megatronic forces from reaching its future, which was pivitol in Galvanic's past. Link to comment Share on other sites More sharing options...
Shamus_McFartfinger Posted November 1, 2006 Share Posted November 1, 2006 What? Somthing wrong with my explanation? Whats going on? LOL!! I know what it is. I bought my first computer the same year you were born. I gotta ask though, what the hell do you do with your 5 1/4" floppy drive? I haven't used one of those in so long I can barely remember them. I actually cleared out one of my "computer bits" cupboards about a month ago and found hundreds of them full of Soundtracker modules. (Amiga music modules). Link to comment Share on other sites More sharing options...
Shamus_McFartfinger Posted November 1, 2006 Share Posted November 1, 2006 Check it out! How cool does this look? Link to comment Share on other sites More sharing options...
dontasciime Posted November 1, 2006 Share Posted November 1, 2006 did windows also say you do not need to defrag Link to comment Share on other sites More sharing options...
LIGHTNING UK! Posted November 1, 2006 Share Posted November 1, 2006 Red is good, yeah? Link to comment Share on other sites More sharing options...
Shamus_McFartfinger Posted November 1, 2006 Share Posted November 1, 2006 It actually told me defragging would be a good idea..... which I did. 90 minutes later and the drive looks the same now as it did before. I knew there was a reason I just don't bother anymore. Link to comment Share on other sites More sharing options...
Shamus_McFartfinger Posted November 1, 2006 Share Posted November 1, 2006 Red is good, yeah? Red is faster. Everyone knows that. Link to comment Share on other sites More sharing options...
dontasciime Posted November 1, 2006 Share Posted November 1, 2006 Just to point out I was joking. Link to comment Share on other sites More sharing options...
Recommended Posts