SShortSingh.
Back to feed

Stop Hand-Crafting /run and /tmp Trees: Practical systemd-tmpfiles on Linux

0
·16 views

Stop Hand-Crafting /run and /tmp Trees: Practical systemd-tmpfiles on Linux Most Linux hosts already run systemd-tmpfiles on every boot. Packages drop snippets under /usr/lib/tmpfiles.d/, the early boot units create volatile trees under /run and friends, and a timer later ages junk out of /tmp and /var/tmp. Operators still keep reinventing the same work with ad-hoc shell: mkdir -p /var/lib/myapp/cache chown myapp:myapp /var/lib/myapp/cache chmod 0750 /var/lib/myapp/cache find /var/lib/myapp/cache -mtime +7 -delete That works until the next image rebuild, the next package update that races your

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Sqlthon library offers Pythonic interface for SQLite database operations

Developer saums-1391 has released Sqlthon, a lightweight Python library for working with SQLite databases. The tool aims to provide a more Python-friendly layer for database interactions compared to standard SQLite interfaces. The project was announced on Hacker News, where it garnered community attention. The library is hosted on GitHub and appears to be in early stages of community engagement.

0
ProgrammingDEV Community ·

The technical steps from typing a URL to a page loading in your browser

Entering a URL initiates a multi-step technical process before a webpage loads. First, the browser translates the domain name into a numerical IP address via DNS, checking various local and network caches for efficiency. With the IP address, the browser establishes a connection to the server using the TCP protocol's three-way handshake. For secure HTTPS sites, a TLS negotiation then occurs to establish an encrypted connection. Finally, the browser sends an HTTP request for the page content and renders the HTML response.

0
ProgrammingDEV Community ·

Top CLI coding agents emerge after 2026 industry consolidation

In 2026, the terminal-based AI development tool market saw significant consolidation. Major events included Google ending its Gemini CLI in June and SpaceX acquiring Cursor in August. As a result, developers are re-evaluating their tools for workflow resilience and privacy. This has led to a focus on a select group of surviving command-line coding agents. These agents are powerful but require careful permission management due to their ability to modify files directly.