SHARE
Facebook X Pinterest WhatsApp

O’Reilly Network: Understanding Unix Filesystems

Written By
thumbnail
Web Webster
Web Webster
Mar 4, 2001

“In last week’s article, we viewed a PC’s BIOS partition table
and its Unix partition table using the fdisk and disklabel
utilities. Let’s continue this week by looking at the newfs utility
and inode tables. The newfs utility actually formats your slice
with the filesystems you previously specified with the disklabel
utility. Let’s start by taking a closer look at formatting and
filesystems in general so we can gain a better appreciation of
newfs.”

“There are two types of hard-drive formatting. When you
purchased your hard drive, it most likely was already “low level”
formatted for you by the manufacturer. Low-level formatting creates
the tracks and sectors on the drive; the intersection of these
tracks and sectors creates the units of storage known as physical
blocks, which are 512 bytes in size.”

“The second type of formatting is called “high-level”
formatting. This type of formatting installs a particular file
system onto a slice of your physical drive using a utility such as
DOS’s format or FreeBSD’s newfs. Some examples of file systems are
FAT16, FAT32, NTFS, and FFS. Different file systems may vary in
performance, but they usually have two features in common:

  • They require some type of table to map block addresses to the
    files contained within the blocks
  • They may also use a “logical” block addressing scheme to try to
    optimize read/write performance”

“Let’s pretend you’re a file system for a moment.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.