
FUSE vs Kernel Filesystem: When to Write Each
Choose between a FUSE daemon and an in-kernel filesystem by weighing crash safety, speed, tooling and boot needs, with a decision table and a libfuse sketch.
Tag
255 posts

Choose between a FUSE daemon and an in-kernel filesystem by weighing crash safety, speed, tooling and boot needs, with a decision table and a libfuse sketch.

Run verilator --lint-only -Wall on every Verilog file, fix the common warnings, waive the rest in a .vlt file with a reason and make lint a Makefile target.

An assembly file without a .note.GNU-stack section makes the linker mark the whole program's stack executable. Add the section or pass -z noexecstack.

Understand H.264 profiles (Baseline, Main, High) and levels (3.1, 4.1, 5.1): what they limit, how to compute a level from size and rate, and how to set them.

Decode the eBPF verifier message invalid access to packet in an XDP program, read the off, size and r values, and add the missing data_end bounds check.

Replace GNU attribute spellings with standard [[nodiscard]], [[maybe_unused]], [[deprecated]] and [[fallthrough]] in C23 and C++17, and see what GCC reports.

Dispatch on a function code in HLASM with a branch table: range-check and scale the index, then branch through B instructions or an address table.

Use perf annotate to see which assembly instructions and source lines inside a hot function receive the most samples, and how to read skid correctly.

Pass messages, signal events and wait on several conditions in ThreadX with tx_queue, tx_semaphore and tx_event_flags calls, with an example.

Stop zombie children in C on Linux with a SIGCHLD handler that loops on waitpid, or with SA_NOCLDWAIT, and learn what each choice costs you.

The Linux VFS gives every filesystem four shared objects, superblock, inode, dentry and file, plus operation tables that make ext4, tmpfs and FUSE look alike.

Write cocotb 1.9 tests in Python for a Verilog counter: drive a Clock, await RisingEdge and ReadOnly, assert outputs and run on Icarus Verilog from a Makefile.