jaredeh / axfs Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/axfs
Automatically exported from code.google.com/p/axfs
What steps will reproduce the problem?
1. After building, run mkfs.axfs
2. Some Usage-instruction would be helpful for meaningful usage tools
3. No usage is displayed, no documentation found on the options
4. One option would be to read the source code, but the average Joe would not
go that far :)
What is the expected output? What do you see instead?
Some Usage-instruction would be helpful for meaningful usage of the tools
./mkfs.axfs
do_opts_validator failed --input: has zero length
What version of the product are you using? On what operating system?
Ubuntu 10.04 LTS 32bits
afxs built from latest "a599a3fecc593da45af7d00a775573c26597b447"
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 23 Aug 2013 at 12:58
What steps will reproduce the problem?
1. Ubuntu 10.04 LTS 32bits
2. git clone to the latest a599a3fecc593da45af7d00a775573c26597b447
3. Build fails for multiple reasons.
4. One reasons is the missing #include <stdbool.h> in some files - _patch_ is
provided
5. Another reason is the conflicting 'Super' (as in AXFS Super block) with some
'Super' object from obj-c.h file (see patch)
5. Additional reason is very sparse documentation. I could suggest the
following dependencies to be documented:
sudo apt-get install -y rake gnustep gnustep-devel gobjc
sudo apt-get install -y rubygems
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
1. Ubuntu 10.04 LTS 32bits
2. git clone to the latest a599a3fecc593da45af7d00a775573c26597b447
3. The patch is to be applied on top of
"a599a3fecc593da45af7d00a775573c26597b447"
4. Use "patch -p0 < a599a3fecc593da45af7d00a775573c26597b447.patch.p0"
Please provide any additional information below.
I also had to use these manual steps:
cd $PREFIX/tools/axfs/libs/rb_tree
make
make lib
cd $PREFIX/tools/axfs/libs/libtomcrypt
make
cd $PREFIX/tools/axfs/libs/yaml
./configure
make
cd $PREFIX/tools/axfs/libs/squashfs_compressor
make configure
make
make lib
cd $PREFIX/tools/axfs
rake lib
rake
----------------------
Perhaps only following would be enough, but there is no INSTALL or README
documenting:
cd $PREFIX/tools/axfs
rake lib
rake
Original issue reported on code.google.com by [email protected]
on 23 Aug 2013 at 12:54
Attachments:
axfs does not compile against kernel >= 4.18
attached a working patch
0001-kernel-add-support-for-4.18-kernel.patch.txt
All the file->f_dentry->d_inode have to be replaced with file_inode(file).
But this will not help with v4 due to lack of xip functions
fs/axfs/axfs_inode.c: In function ‘axfs_fault’:
fs/axfs/axfs_inode.c:598:3: error: implicit declaration of function ‘xip_file_fault’ [-Werror=implicit-function-declaration]
fs/axfs/axfs_inode.c: In function ‘axfs_file_read’:
fs/axfs/axfs_inode.c:739:4: error: implicit declaration of function ‘xip_file_read’ [-Werror=implicit-function-declaration]
fs/axfs/axfs_inode.c:744:4: error: implicit declaration of function ‘do_sync_read’ [-Werror=implicit-function-declaration]
fs/axfs/axfs_inode.c: At top level:
fs/axfs/axfs_inode.c:869:2: error: unknown field ‘get_xip_mem’ specified in initializer
fs/axfs/axfs_inode.c:869:2: warning: initialization from incompatible pointer type [enabled by default]
fs/axfs/axfs_inode.c:869:2: warning: (near initialization for ‘axfs_aops.writepages’) [enabled by default]
fs/axfs/axfs_inode.c:610:16: warning: ‘axfs_xip_file_read’ defined but not used [-Wunused-function]
vm_insert_mixed calls in axfs_inode.c require MMU to be enabled
attached a working patch
0002-kernel-force-MMU-dependency.patch.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.