Posted: 2024-02-03 16:34:00 Source: https://linux.slashdot.org/story/24/02/03/044248/linus-torvalds-has-robust-exchanges-over-filesystem-suggestion-on-linux-kernel-mailing-list?utm_source=atom1.0mainlinkanon&utm_medium=feed
Linus Torvalds had "some robust exchanges" on the Linux kernel mailing list with a contributor from Google. The subject was inodes, notes the Register, "which as Red Hat puts it are each 'a unique identifier for a specific piece of metadata on a given filesystem.'" Inodes have been the subject of debate on the Linux Kernel Mailing list for the last couple of weeks, with Googler Steven Rostedt and Torvalds engaging in some robust exchanges on the matter. In a thread titled, "Have the inodes all for files and directories all be the same," posters noted that inodes may still have a role when using tar to archive files. Torvalds countered that inodes have had their day. "Yes, inode numbers used to be special, and there's history behind it. But we should basically try very hard to walk away from that broken history," he wrote. "An inode number just isn't a unique descriptor any more. We're not living in the 1970s, and filesystems have changed." But debate on inodes continued. Rostedt eventually suggested that inodes should all have unique numbers... In response... Torvalds opened: "Stop making things more complicated than they need to be." Then he got a bit shouty. "And dammit, STOP COPYING VFS LAYER FUNCTIONS. It was a bad idea last time, it's a horribly bad idea this time too. I'm not taking this kind of crap." Torvalds's main criticism of Rostedt's approach is that the Google dev didn't fully understand the subject matter — which Rostedt later acknowledged. "An inode number just isn't a unique descriptor any more," Torvalds wrote at one point. "We're not living in the 1970s, and filesystems have changed."
Read more of this story at Slashdot.
Posted: 2024-02-03 02:11:06 Source: https://distrowatch.com/12053
The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. Version 2024.01 of KaOS, an independently-developed Linux distribution focused on Qt/KDE toolkit and desktop, has been released. This is the project's first stable release that incorporates KDE's upcoming Plasma 6 release, currently in the release candidate 2 stage. "It is a great pleasure to present to you the....
Posted: 2024-02-02 22:24:49 Source: https://distrowatch.com/12052
The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. The Tails project, which develops a Debian-based live DVD/USB with built-in Internet anonymity features, has announced the availability of the initial release candidate for the upcoming Tails 6.0. The new version is based on Debian 12 and features the GNOME 43 desktop environment: "We are very excited to....
Posted: 2024-02-02 15:15:00 Source: https://www.youtube.com/watch?v=9Z8DB7MI0S8
Posted: 2024-02-02 14:29:32 Source: https://distrowatch.com/12051
The DistroWatch news feed is brought to you by TUXEDO COMPUTERS. The third and final beta build of deepin 23, a desktop Linux distribution featuring the Deepin Desktop Environment (DDE), is now available for download and testing: "The last beta version of deepin 23, beta 3, is here. Compared with deepin 23 beta 2, beta 3 upgrades 1,400+ pre-installed....
Posted: 2024-02-02 14:22:42 Source: https://linuxhint.com/cpp-custom-exceptions/
Tutorial on the important concept of custom exception in C++ using the “throw”, “try”, and “catch” keywords to handle the exception that happens in the program.
Posted: 2024-02-02 13:59:27 Source: https://linuxhint.com/binary-decimal-cpp/
Tutorial on the methods of converting a binary value to a decimal value using the “for” loop, “while” loop, and the bitset class approaches along with examples.
Posted: 2024-02-02 13:12:07 Source: https://linuxhint.com/cpp-const-function-examples/
Practical tutorial on the various examples and functionalities of the const function in C++ to avoid accidental changes or modifications in the program's value.
Posted: 2024-02-02 08:38:35 Source: https://linuxhint.com/assignment-operator-overloading-cpp/
Comprehensive tutorial on the assignment operator which is represented with the equality (=) symbol in C++ to overload the values of one instance to another.
Posted: 2024-02-02 07:53:44 Source: https://linuxhint.com/cpp-floor-examples/
Practical tutorial on the floor() function in C++ to return the value that is less than or equal to the number that is given to that function as the parameter.
Posted: 2024-02-02 07:21:42 Source: https://linuxhint.com/select-all-vim/
To select all in Vim, use the ggVG command, and to map the ctrl+a key to this command use, nnoremap ggVV in the vimrc file.
Posted: 2024-02-02 07:17:34 Source: https://linuxhint.com/make-kali-linux-bootable-usb/
To make a Kali Linux Bootable USB, download Kali ISO file and imaging tool (Etcher). Plugin the USB in system and make the Kali bootable USB using imaging tool.
Posted: 2024-02-02 06:57:56 Source: https://linuxhint.com/guide-sort-lines-vim/
To sort lines in Vim, the built-in sort command is used with a range. By default, lines are sorted in lexicographical order.
Posted: 2024-02-02 06:43:59 Source: https://linuxhint.com/fixing-zsh-command-not-found-errors-jupyter/
Tutorial on how to troubleshoot and fix the "Zsh Command Not Found” error when trying to invoke the Python scripts or Python-related commands such as Jupyter.
Posted: 2024-02-02 06:32:24 Source: https://linuxhint.com/exploring-antigen-zsh/
Comprehensive tutorial on Antigen, how to integrate and use it with your Zsh setup, and how to install it, its supported commands, and more along with examples.
Posted: 2024-02-02 06:28:22 Source: https://linuxhint.com/error-printing-go/
Tutorial on the process of printing the error messages in Go using the new function and the “Errorf” function to combine multiple errors along with examples.
Posted: 2024-02-02 04:12:55 Source: http://www.kernel.org/
Version: | next-20240202 (linux-next) |
---|---|
Released: | 2024-02-02 |
Posted: 2024-02-01 17:00:00 Source: https://www.linuxjournal.com/content/linux-system-monitoring-prometheus-grafana-and-collectd
In the realm of Linux system administration and development, the importance of efficient and comprehensive system monitoring cannot be overstated. Monitoring the health, performance, and reliability of Linux servers and applications is paramount for ensuring high availability, diagnosing problems, and optimizing resources. Among the plethora of tools available for this purpose, three stand out for their robustness, versatility, and the powerful insights they offer: Prometheus, Grafana, and collectd. This article delves into each of these tools, exploring their key features, benefits, and how they can be integrated to create a formidable monitoring setup.
Prometheus is an open-source monitoring and alerting toolkit that has gained widespread popularity for its simplicity, efficiency, and powerful data handling capabilities. Developed by SoundCloud in 2012, it has become a project hosted by the Cloud Native Computing Foundation (CNCF). Prometheus is designed around a pull-based model for collecting metrics, querying data with its PromQL query language, and setting up alerts to notify administrators of potential issues.
Key Features of PrometheusPrometheus’s architecture is built around its time-series database, which efficiently stores metrics in a format that supports precise and fast queries, even over large datasets. The core of its functionality is the ability to scrape metrics from configured endpoints at specified intervals, using HTTP requests. These endpoints can be anything from hardware sensors to web applications, as long as they expose metrics in the format Prometheus expects.
One of the standout features of Prometheus is its query language, PromQL, which allows for the retrieval and manipulation of data, enabling administrators to pinpoint issues quickly. Furthermore, Prometheus supports automatic service discovery and dynamic configurations, making it adaptable to environments with changing infrastructures, such as cloud deployments.
Benefits of Using PrometheusPrometheus shines in environments that require scalable and reliable monitoring solutions. Its active community ensures a wide range of exporters (plugins that expose metrics from third-party systems in a format Prometheus can scrape) are available, making it compatible with virtually any service or application. Additionally, its scalability, robust alerting mechanisms, and efficient storage make it an ideal choice for large and dynamic systems.
Posted: 2024-02-01 15:15:02 Source: https://www.youtube.com/watch?v=W5mGpWk56fE
Posted: 2024-02-01 06:54:30 Source: https://www.youtube.com/watch?v=yjxrJsVM0ac