Gregory Nutt
|
db3b507a41
tools/gencromfs.c: Was duplicating all mode bits in source directory in CROMFS directory. Some make no sense. In particular, all write-able bits are cleard unconditionally. Executable bits are still copying because there is really no way for the tool to know if the file is executable or not.
|
6 years ago |
Gregory Nutt
|
67e0603b5a
fs/cromfs: Block length only needs to be uint16_t, not uint32_t. Add pading to node structure to assue that alignment is the same on all platforms. tools/gencromfs.c: Fix the target offset of the '.' hard link.
|
6 years ago |
Gregory Nutt
|
22484386ee
fs/cromfs and tools/gencromfs: Various fixes for traversal relative file paths. Biggest changes is in types used: Cannot use size_t or mode_t in common structures because they have different sizes on the (64-bit) host and the (32-bit) target. Use uint32_t instead of size_t for offsets. Use uint16_t instead of mode_t.
|
6 years ago |
Gregory Nutt
|
eec44d1f01
This commit adds tools/gencromfs.c, a tool that can be used to generate CROMFS file system images.
|
6 years ago |
Gregory Nutt
|
0478b5bce4
Addes CROMFS prototype. CROMFS is a commpressed, in-memory read-only file system based on LZF.
|
6 years ago |