Re: Drive Fragmentation
- Posted by jimcbrown (admin) Jul 06, 2016
- 1485 views
When I started coding ("in the Stone Age") disks were SLOW, and fragmentation was a BIG problem. When we tried to add a few lines to a source file, our editor generated a new file, so that we ended up with myfile(1), myfile(2) ... etc. We junked a BIG batch of old files in one session eventually, to minimize fragmentation. Today, we often forget the fragmentation problem?
It's not as big a deal with modern filesystems and disks:
Recently, I admit, I often have to make many corrections if I attempt a big Euphoria project. I hadn't realized how messy I'd been making my main drive. It was enough to be annoying.
But I've a feeling that there's a neater way, a clever editor, perhaps? - Phil
Even vi lets you edit a file in place and overwrite the old one with your changes.
Now I'm trying out a little USB stick to develop a group of files, whenever I can. At a good point, successful files can go onto the main drive - and the USB stick can be cleared, to "forget the mess".
I feel obligated to point out to any newbies reading this that constantly filling up and then clearing a USB stick like this comes with its own dangers: http://www.zdnet.com/article/usb-drive-life-fact-or-fiction/
newphil82 is advanced enough to already know about this and to be able to deal with the dangers, but that may not be true for some of the lurkers on the forum...