| FEBUG(8) | System Manager's Manual | FEBUG(8) |
febug —
febug |
[-h|--help]
[-V|--version]
[-d] [librefuse options]
mountpoint |
See febug-abi(8) for implementation details, and the EXAMPLES section for an example debug session.
-h, --help and
-V, --version are
self-explanatory.
-d enables debug output from both
febug and librefuse.
febug passes all arguments (which have to,
therefore, include mountpoint) to
fuse_main(3),
with -f (foreground) and -o
default_permissions appended. If run with effective
UID of 0, it also appends -o
allow_other.
FEBUG_SOCKET#servicefebugstart$mount|grepfebug/dev/puffs on /var/run/febug type puffs|refuse:febug (nodev, nosuid)$./out/examples/vector-sort&[1] 1409$LD_LIBRARY_PATH=out./out/examples/string-qsort&[2] 1410$ls/var/run/febug/ 1409 1410$ls-l/var/run/febug/ dr-xr-x--- 4 nabijaczleweli users 0 Jan 15 19:52 1409 dr-xr-x--- 3 nabijaczleweli users 0 Jan 15 19:52 1410$ls/var/run/febug/1409/ comparisons cool_data$cat/var/run/febug/1409/* 24 -3 -2 -3 -2 -3 -2 3 -1 -2 -3 0 1 2 3 -1 -2 -3 0 1 2 3 -1 -2 -3 0 1 2 3 -1 2 1 0 1 2 3 -1 0 -1 0 1 2 3$cat/var/run/febug/1409/* 45 -3 -2 -3 -2 -3 -2 -3 -2 -2 -3 -3 -2 -1 3 -1 1 0 0 1 2 3 2 -1 3 0 1 2 3 -1 2 1 0 1 2 3 -1 0 -1 0 1 2 3$grep./var/run/febug/*/* /var/run/febug/1409/comparisons:71 /var/run/febug/1409/cool_data:-3 -3 -3 -3 -3 -3 -2 -2 -2 -2 -2 -2 -1 3 -1 1 0 0 1 2 3 2 -1 3 0 1 2 3 -1 2 1 0 1 2 3 -1 0 -1 0 1 2 3 /var/run/febug/1410/cool_data:3012987654ACEFOLJKODNIEMIGHBPPbdWwnfTpXQcreRlVvUSitZQWjRTYUazuqwertyuiopoxyhmYsgkq$kill%1$ls/var/run/febug/ 1410
libfebug(3), libfebug++(3), libfebug.rs(3) — libraries wrapping said ABI.
febug mailing list: <~nabijaczleweli/febug@lists.sr.ht>, archived at https://lists.sr.ht/~nabijaczleweli/febug
| June 12, 2023 | NetBSD 9.2 |