diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:24:38 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:24:38 +0300 |
| commit | 80f64ffaf20ed6ee696a2a3981684abeb4923f22 (patch) | |
| tree | 3a510653cb3f3b3620863edbd32245bdd7cf5bbc /corebinutils/df/README.md | |
| parent | 8140f2d060d59da3126354897937676c2a6b5217 (diff) | |
| parent | 04298aa63d4ae1546bed105cb8cb0245b3646ee5 (diff) | |
| download | Project-Tick-80f64ffaf20ed6ee696a2a3981684abeb4923f22.tar.gz Project-Tick-80f64ffaf20ed6ee696a2a3981684abeb4923f22.zip | |
Add 'corebinutils/df/' from commit '04298aa63d4ae1546bed105cb8cb0245b3646ee5'
git-subtree-dir: corebinutils/df
git-subtree-mainline: 8140f2d060d59da3126354897937676c2a6b5217
git-subtree-split: 04298aa63d4ae1546bed105cb8cb0245b3646ee5
Diffstat (limited to 'corebinutils/df/README.md')
| -rw-r--r-- | corebinutils/df/README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/corebinutils/df/README.md b/corebinutils/df/README.md new file mode 100644 index 0000000000..94526e2e1d --- /dev/null +++ b/corebinutils/df/README.md @@ -0,0 +1,26 @@ +# df + +Standalone musl-libc-based Linux port of FreeBSD `df` for Project Tick BSD/Linux Distribution. + +## Build + +```sh +gmake -f GNUmakefile +gmake -f GNUmakefile CC=musl-gcc +``` + +## Test + +```sh +gmake -f GNUmakefile test +gmake -f GNUmakefile test CC=musl-gcc +``` + +## Notes + +- Port strategy is Linux-native mount and stat collection, not a FreeBSD ABI shim. +- Mount enumeration uses `/proc/self/mountinfo`; capacity and inode counts use `statvfs(3)` on each selected mountpoint. +- FreeBSD `getmntinfo(3)`, `sysctl(vfs.conflist)`, `getbsize(3)`, `humanize_number(3)`, and `libxo` are removed from the standalone port. +- `-l` is implemented with Linux-oriented remote-filesystem detection based on mount type, `_netdev`, and remote-style sources such as `host:/path` or `//server/share`. +- Linux has no equivalent of FreeBSD's cached `statfs` refresh control, so `-n` fails with an explicit error instead of silently degrading. +- Linux also has no `MNT_IGNORE` mount flag equivalent; as a result `-a` is accepted but has no additional effect in this port. |
