В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount
mount -t tmpfs -o size=5G tmpfs /mnt/ram
Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно?
▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD.
▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем.
▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов.
Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM.
Вот мои результаты:
Single File Size: 30.0Gb
ssd > ssd: 0:00:12.850 / 2.3Gb/s
sdd > ram: 0:00:06.453 / 4.6Gb/s
ram > ram: 0:00:06.995 / 4.3Gb/s
ram > sdd: 0:00:06.217 / 4.8Gb/s
Dir size: 32.7Gb, File count: 11127
ssd > ssd: 0:00:15.063 / 2.2Gb/s
sdd > ram: 0:00:08.486 / 3.9Gb/s
ram > ram: 0:00:08.032 / 4.1Gb/s
ram > sdd: 0:00:07.026 / 4.7Gb/s
Скрипт для теста ↗️
На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD.
В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения
#linux#triks
📰 user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers
On this first day of the Linux 7.1 merge window, among the early pull requests merged were beginning to land the various VFS pull requests submitted by Christian Brauner. Among that code merged is enabling support for user.* extended attributes on sockets...
🔗 Source: https://www.phoronix.com/news/Linux-7.1-User-xattrs-Sockets
#gnome#linux#systemd
📰 I replaced Android with a full Linux desktop on my old phone, and it's shockingly usable
Pocketblue, based on Fedora Atomic, is great on the OnePlus 6.
🔗 Source: https://www.xda-developers.com/replaced-android-full-linux-desktop-old-phone/
#linux#fedora#android
📰The gaming Linux distro everyone's switching to just made sudo way more secure with your fingerprint
2026 has been a great year for CachyOS, and we're only a quarter of the way in. Earlier in the year, we saw CachyOS dethrone Arch Linux as the top distro for reports in ProtonDB, which ended a year-long reign and showed a pattern of people checking out CachyOS for their gaming needs.
🔗 Source: https://www.xda-developers.com/the-gaming-linux-distro-everyones-switching-to-just-made-sudo-way-more-secure-with-your-fingerprint/
#arch#distro#linux
📰 Pocketblue Brings Fedora Atomic Linux to Mobile Devices
Pocketblue brings Fedora Atomic to select ARM-powered devices, providing users with an immutable Linux system on their phones and tablets.
🔗 Source: https://linuxiac.com/pocketblue-brings-fedora-atomic-linux-to-mobile-devices/
#linux#fedora#arm
📰 Arch-Based Omarchy 3.5 Brings Full Intel Panther Lake Support
Arch-based Omarchy 3.5 adds Intel Panther Lake support with a patched Linux kernel 6.19, Dell XPS 2026 fixes, and new features.
🔗 Source: https://linuxiac.com/arch-based-omarchy-3-5-brings-full-intel-panther-lake-support/
#linux#arch#kernel#intel
📰 Arch-Based Artix Linux 2026.04 Released With XLibre as Default X Server
Arch-based systemd-free Artix Linux 2026.04 is out with XLibre by default and PipeWire replacing PulseAudio in ISOs.
🔗 Source: https://linuxiac.com/artix-linux-2026-04-released-with-xlibre-as-default-x-serve/
#linux#systemd#arch
#rust#bsd#gpu#linux#macos#opengl#rust#terminal#terminal_emulators#vte#windows
Alacritty is a fast, cross-platform terminal emulator that uses OpenGL for smooth performance, works on BSD, Linux, macOS, and Windows, and offers customizable settings while keeping things simple. It’s lightweight, integrates well with tools like window managers or terminal multiplexers, and is already reliable enough for daily use despite being in beta, making it ideal for users who want speed and flexibility without unnecessary features.
https://github.com/alacritty/alacritty
📰Emmabuntüs Debian Edition 6 1.01 Is Out with More Accessibility Improvements
Emmabuntüs Debian Edition 6 1.01 distribution is now available for download based on the Debian GNU/Linux 13.4 “Trixie” operating system. Here’s what’s new!
🔗 Source: https://9to5linux.com/emmabuntus-debian-edition-6-1-01-is-out-with-more-accessibility-improvements
#debian#linux#gnu
#rust#agent#ai#amazon_q#cli#linux#llm#macos#mcp#open_source#productivity#rust#shell#terminal#typescript
Amazon Q CLI is a powerful tool that lets you interact with AWS and your development environment using natural language right from your terminal. It helps you write code, run commands, and manage AWS resources faster by understanding your context and providing smart suggestions, autocompletion, and even translating plain English into shell commands. It supports multi-turn conversations, so you can ask follow-up questions and get real-time help without leaving the command line. This boosts your productivity by simplifying complex tasks, reducing errors, and speeding up development workflows, making it easier to manage projects and infrastructure efficiently[1][2][3].
https://github.com/aws/amazon-q-developer-cli
SystemD Root Access Exploit Found, Devuan Team Calls SystemD "Unicorn Sh*t"
"Found yet another high severity #systemd bug in #Ubuntu: local root privilege escalation (CVE-2026-3888) https://cybersecurity88.com/news/ubuntu-cve-2026-3888-timing-flaw-in-systemd-cleanup-enables-root-privilege-escalation/ Let us wish all #Devuan users a wonderful day out with their family for a merry father's day, instead of showeling unicorn shit."
https://xcancel.com/DevuanOrg/status/2034560405968712179
https://www.youtube.com/watch?v=_yukEnElXUg
Lennart Poettering
#microsoft#Linux#stalking#surveillance#backdoor#trojan