6b1b8fef55
fix: Don't create . or .. in the untar example
2023-06-17 12:05:13 +02:00
1644ab59eb
fix: Add support for my own OS to examples
...
Luna doesn't support FIFOs, and special device files are
automatically created by the kernel, so there is no mknod().
2023-05-27 19:58:23 +02:00
f12f58bacf
fix: Make the untar example create parent directories for all entry types
2023-03-08 17:05:10 +01:00
f6507e5461
chore: add note to self
...
untar creates parent dirs only for regular files now, not symlinks/hard links/FIFOs/etc
2023-02-25 20:30:31 +01:00
7e42b10078
fix: Make the untar example create parent directories if they don't exist (like mkdir -p)
...
This lets it deal with tar archives that are packaged like this:
usr/include/hello.h
usr/include/bye.h
usr/lib/libexample.a
Instead of requiring directory entries:
usr/
usr/include/
usr/include/hello.h (etc)
This helps since some tar archives (our own example tool, pack, for example, does this) are packaged without directory entries.
2023-02-25 20:28:23 +01:00
5b0d597c09
feat: Add support for block and character devices
2023-01-29 22:07:54 +01:00
1f08cf4b31
feat: Add support for FIFOs
2023-01-27 23:00:53 +01:00
3772e9e3a6
feat: Add support for hard links
2023-01-27 22:46:18 +01:00
599cac5811
feat: Add support for symbolic links
...
All the pieces were in place, we just needed to put them together.
Sorry, but sub-500 LoC isn't gonna work anymore...
2023-01-26 22:12:42 +01:00
9a7629459e
chore: Add copyright headers to all source files
2023-01-12 21:04:52 +01:00
e758012948
feat: Add two examples
2023-01-12 20:04:28 +01:00