Skip to content

Filesystem

  • There is no simple way to prepend to a file
    • This is because of how filesystems tend to store files on disk. The description of a file is it's length and where it starts. You can't change where it starts because something else could already be there. To add to the start, then, you have to copy the whole lot of the file and 'shift' it down a little.