Skip to main content

Ext2 Disk Data Structures

The first block in any Ext2 partition is never managed by the Ext2 filesystem, since it is reserved for the partition boot sector (see Appendix A). The rest of the Ext2 partition is split into block groups, each of which has the layout shown in Figure 17-1. As you will notice from the figure, some data structures must fit in exactly one block, while others may require more than one block. All the block groups in the filesystem have the same size and are stored sequentially, thus the kernel can derive the location of a block group in a disk simply from its integer index. more...

Comments

Popular posts from this blog

Fixing Unix/Linux/POSIX Filenames

Traditionally, Unix/Linux/POSIX filenames can be almost any sequence of bytes, and their meaning is unassigned. The only real rules are that "/" is always the directory separator, and that filenames can't contain byte 0 (because this is the terminator). Although this is flexible, this creates many unnecessary problems. In particular, this lack of limitations makes it unnecessarily difficult to write correct programs (enabling many security flaws), makes it impossible to consistently and accurately display filenames, causes portability problems, and confuses users. more ....

Backing up MySQL data.

Backing up files and directories is relatively easy; databases, however, have some special quirks that you need to address. Our examples use MySQL, but the same principles apply to PostgreSQL and other relational databases. This article is excerpted from O'Reilly's recently published book Linux System Administration .

Many Companies Hold Vast Data but Are Unprepared for LLM Fine-Tuning: How to Solve It and What to Do About It

  Many Companies Hold Vast Data but Are Unprepared for LLM Fine-Tuning: How to Solve It and What to Do About It In today’s data-driven world, companies across various industries generate and store vast amounts of data. From customer interactions and sales transactions to sensor readings and user-generated content, organizations are sitting on treasure troves of information. However, when it comes to leveraging this data for fine-tuning large language models (LLMs), many companies find themselves unprepared. The growing need for AI-powered solutions requires adapting these models to specific organizational needs—a task that demands both the right infrastructure and expertise. The Challenge: Vast Data, But Lacking Readiness for LLM Fine-Tuning Large language models, such as OpenAI’s GPT or Google’s Bert, have revolutionized industries by providing AI capabilities for natural language understanding, generation, and analysis. However, these models are typically pre-trained on generaliz...