Commit Graph

8 Commits

Author SHA1 Message Date
Virgil Dupras 95ab1ad588 Transform "blk/" folders into "blk.fs" text files
Working in "blk/" folder from a modern system is harder than it
should be. Moving blocks around is a bit awkward, grepping is a
bit less convenient than it could be, git blame has troubles
following, etc.

In this commit, we modify blkpack and blkunpack to work with single
text files with blocks being separated by a special markup.

I think this will make the code significantly more convenient to
work into.
2020-11-14 18:34:15 -05:00
Virgil Dupras c9ce0f8cfd tools/blkpack: support multiple dirname arguments 2020-09-20 09:38:28 -04:00
link2xt 4017fd04ac
Replace deprecated bzero with memset (#119) 2020-06-16 18:58:23 -05:00
link2xt 79da1db90e
tools: mark local C functions as static (#120) 2020-06-16 18:58:00 -05:00
Zac Stewart ae954906d8
Make blkpack close files when it's done reading them (#108)
* Report when a file cannot be opened

* Close files when done reading them
2020-06-08 19:09:45 -05:00
Virgil Dupras bcddfd461d blkpack: Remove usage of nonstandard d_type
The man page says it's not always available and it caused problems
under some FSes. The condition is not needed in the context of
blk/, let's scrap it.
2020-06-08 06:38:33 -04:00
Virgil Dupras c07a594e1a Begin working on a Visual Editor 2020-06-04 10:39:59 -04:00
Virgil Dupras d4cdb659b4 tools: add blkpack 2020-04-13 22:05:03 -04:00