All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Building a Linux Filesystem Watcher: Comparing fanotify and eBPF Solutions

By

amandeepspdhr

8mo ago· 7 min readenInsight

Summary

A technical deep dive into building a Linux filesystem watcher, comparing fanotify and eBPF-based solutions for in-kernel monitoring. The article explores the challenges of maintaining customized environments where manual tasks by support engineers can lead to issues like incorrect file ownership, and presents a sophisticated approach to solving these monitoring problems at the kernel level.

Key quotes

· 3 pulled
Some of the systems I work with are highly customized environments, and often need support engineers to maintain them.
A lot of automation exists, but sometimes they need to manually go into a VM and change things.
But sometimes people run commands in the service directories as root. This doesn't impact the service as it's running, but it won't restart.
Snippet from the RSS feed
A deep dive into building a Linux filesystem watcher. We compare fanotify vs. a powerful eBPF solution to solve in-kernel monitoring challenges.

You might also wanna read