File Creation Operations in the Operating System
14.5 File Creation
14.5.1 The file_create Implementation
When creating a new file, several critical operations must be performed in sequence:
Inode Allocation: Each file requires an inode to track its size, location, and metadata. The process begins by allocating an inode number from the inode bitmap. This involves updating the inode bitmap, ...
Posted on Wed, 29 Jul 2026 16:49:33 +0000 by dnast
Files and Directory Management in Linux
1. Linux File Attributes
In Linux systems, file and directory attributes include: inode, type, permission attributes, number of hard links, owner and group, and last modification time.
Execute ls -lhi command to view these attributes:
total 4.0K
24563 drwxr-xr-x 2 root root 4.0K Jun 28 21:30 123
6464 -rw-r--r-- ...
Posted on Sun, 19 Jul 2026 17:03:36 +0000 by amwd07
Distinguishing Hard Links and Symbolic Links in Linux Filesystems
Core Distinctions Between Hard and Symbolic Links
Hard links and symbolic links (symlinks) establish alternative pathways to filesystem data, yet their internal implementations and constraints differ fundamentally.
Attribute
Hard Link
Symbolic Link
Underlying Mechanism
Maps directly to the ...
Posted on Wed, 10 Jun 2026 16:08:24 +0000 by fowlerlfc
Understanding Linux Hard Links and Symbolic Links
Introduction to Linux Links
In Linux file systems, links provide a mechanism to access files from multiple locations. There are two types of links: Hard Links and Soft Links (also known as Symbolic Links). By default, the ln command creates a hard link. To create a symbolic link, the -s flag must be specified.
Hard Links
A hard link is a direct ...
Posted on Sat, 09 May 2026 15:23:07 +0000 by bweekly