UNIX FILE SYSTEM

more linux/unix
STUDY
PLAY
File system
the method that the operating system uses for organizing and storing information on the system.
What are the four components of the file system?
a Namespace, an API, a security model and an implementation
namespace
a way of naming things and organizing them in a hierarchy
API
a set of system calls for navigating and manipulating objects
implementation
software that ties the logical model to the actual hardware
two part file names
namespace with two parts seperated by a period. part after the period is called the file extension, usually says something about the file
Is Linux case sensitive?
SO FKN CASE SENSITIVE DON'T FK UP
Directory
a file that acts as a holder for other files and directories
File
a collection of data that is stored on a disk and that can be manipulated as a single unit by its name
Directory Tree
Includes a directory and all of its contents and sub directories
Parent Directory
a file that contains another directory
What is the file name length in MS-DOS?
1-8 characters, plus an optional extension of 1-3 characters
Unix Extension
in unix, the size of the extension, if any is up to the user, and a file may even have two or more extensions.
Extensions
Look up some extensions
File System Hierarchy Standard (FHS)
a document that specifies the layout ofdirectories on a Linux system. Was devised to provide a common layout to simplifiy distro independent software development. Specifies the directory tree.
What does FSHS specify?
The Filesystem Hierarchy Standard specifies the following directory tree
/ , /boot, /dev, /etc, /lib, /mnt, /opt, /sbin, tmp, /usr, /var.
/
the root directory
Root Filesystem
denoted by " / " contains the files you need to boot the system. Only filesystem auto mounted in single user mode. consists of sub directories and the kernel executable image file.
How do you make a file system accessible?
Mount the file system. a file system must be mounted to a directory to be accessible.
Links
The linux system does not store the file name in the nod, so file can have multiple names. This means the file has more than one link. File is accessible by anyone.
YOU MIGHT ALSO LIKE...