A Beginner’s Guide to Understanding the Linux Directory Structure

A Beginner's Guide to Understanding the Linux Directory Structure

The directory tree structure in the Linux system is a hierarchical file organization method that organizes files and directories in a tree-like format, making it easy for users and programs to find and manage files. In Linux, everything is a file, including hardware devices and the directories themselves.In Linux, various commands can be used to … Read more

Linux – Block Device Drivers

Linux - Block Device Drivers

1.What is a Block Device Driver A block device driver is used to operate storage devices such as hard disks. 1.1 Concept of Block Device DriversDevices that can randomly access fixed-size data chunks (1 block = 512 bytes) are called block devices. Block device files are generally used in a way that mounts a file … Read more

Using the ESP32 MicroPython File System

Using the ESP32 MicroPython File System

1. Overview of the File System The MicroPython on ESP32 uses the FAT file system by default, stored in internal flash memory or on an external SD card. The main operations include file reading and writing, directory management, and retrieving file information. 2. Common APIs <span>os.listdir()</span>: List directory contents <span>os.mkdir(path)</span>: Create a directory <span>os.rmdir(path)</span>: Remove … Read more

Why is Everything a File in Linux?

Why is Everything a File in Linux?

“Everything is a file” is a core concept in the Linux operating system, which not only reflects the simplicity and unity of the Unix/Linux design philosophy but also provides a solid foundation for the system’s modularity, programmability, and composability.In the Linux system, “everything is a file” means that almost all resources in the system, including … Read more

MicroPython: The Mini Power of Embedded Systems!

MicroPython: The Mini Power of Embedded Systems!

▼ Click the card below to follow me MicroPython: The Mini Power of Embedded Systems! Python is one of the most popular programming languages in the world, and MicroPython is its superhero version in the embedded field. Imagine that microcontrollers and microcontrollers, which once required complex C language programming, can now be directly controlled using … Read more

Treating Bugs as Features? Linus Torvalds is Speechless…

Treating Bugs as Features? Linus Torvalds is Speechless...

The Linux Kernel Mailing List (LKML) has erupted again. This time, it’s over an old issue that has existed for more than twenty years: Should file systems be case-sensitive? Linus Torvalds directly referred to it as a “huge mistake,” causing the technical discussion to explode. The issue originated from a patch for the Bcachefs file … Read more

How to Check File Mount Points, File System Types, and File Status in Linux

How to Check File Mount Points, File System Types, and File Status in Linux

Commands related to the file system in Linux are summarized as follows: 1 Environment Operating System: Ubuntu 22.04.5 LTS 2 df -h, to check all mounted points 3 df -h /, to check the mount point of any directory 4 df -hT, to check the file system type of the mounted points 5 mount -l, … Read more

Common Operations of Linux LVM

Common Operations of Linux LVM

Common Operations of Linux LVM LVM (Logical Volume Manager) is a logical volume manager in Linux used for managing disk storage. It abstracts physical hard disk partitions into Physical Volumes (PV), combines them into Volume Groups (VG), and then divides them into Logical Volumes (LV). LVM supports dynamic resizing of volumes, snapshots, striping, and other … Read more

Linus Torvalds Criticizes Case-Insensitive File Systems as a Major Mistake

Linus Torvalds Criticizes Case-Insensitive File Systems as a Major Mistake

Linus Torvalds, the “Father of Linux”, has once again expressed his frustration by publishing a lengthy post on the Linux Kernel Mailing List (LKML), harshly criticizing the case-insensitive feature in file systems. Link to the full post: https://lore.kernel.org/lkml/CAHk-=wjajMJyoTv2KZdpVRoPn0LFZ94Loci37WLVXmMxDbLOjg@mail.gmail.com/ He explicitly stated that this design is a “huge mistake”, and that file system developers have never … Read more