sbuller / node-mkfat

Build a simple FAT16 filesystem image in Javascript
2 stars 0 forks source link

nos-mkfat

Build a simple FAT16 filesystem image

The approach I'm taking makes several assumptions to keep it simple:

  1. filesystem size will not exceed 512 64 65525 [sic] bytes + fs data.
  2. no long filenames
  3. all files to be added will come from existing file descriptors
  4. the files to be added are all declared before the filesystem is generated
  5. the files sizes can be looked up before copying them to the filesystem
  6. ... more?

Some of these aren't hard to fix, but I'm not planning on working on them unless I find a need.

My main references have been: