Filesystem in Unix

Data and programs are stored, as in other operating systems, the files stored on magnetic disks. Each disc can be divided, logically, in more areas called partitions. Partition size is determined by the system administrator to install your system or insert a new disk when the system. Each partition is managed separately from the operating system such as a device-independent.
To manage files in a partition, the operating system must have information about: free data blocks in the partition, data blocks occupied, information about every file containing that partition. All information and organization of files must be in the partition that created the file system. During its evolution, in Unix systems have been defined more files, they differ in size blocks of data, and information contained in data structures used to manage files. Examples of file systems: S5 (UNIX System V), UFS (BSD Unix), RSF and NSF (computer networks).


To achieve coexistence of several different file systems, operating system kernel contains a particular level, called virtual file system, being designed to equalize access to files. Operations with files received calls from users are handled at this level, the call depending Customize file system where the file is called.
File in the Unix sense notion:
Unix file is considered as a sequence of bytes, with an end of file mark. There are three types of files:

• Regular files 

• File manager

• Special files

A regular file is used for storing information on magnetic media, it may contain a source program (text) or a form executable code (binary) and data necessary for the execution of programs. Regular files are the only type of files used to store long term information. File names can not exceed 14 characters printed in older Unix systems and 255 characters in later. Allowed characters are case-sensitive English alphabet, numbers and _ sign. Uppercase and lowercase letters are considered distinct. Sometimes it is necessary to have a filename extension: shell program/ bass for Basic programs. C for C programs, etc.
Directories are files containing subdirectories and files contained information about. Special files are files associated peripheral devices. Users can make the peripheral data exchange without having to know details about their operating mechanism.

Topics: , , , , , , , , , , , , , , , , , , , , , , , ,

Did you like this? Share it:

Watch tweets on:
  • You may also like

    1. Picture: UNIX Basics

      UNIX Basics

      This section tries to present some basic knowledge about operating system, although it appeared in t...

    2. Picture: Vulnerabilities exploited by worms - Part 2

      Vulnerabilities exploited by worms – Part 2

      Passwords One of the “songs of resistance” of the worm involves trying to discover passw...

    3. Picture: How to install Windows on a Mac

      How to install Windows on a Mac

      How to install Windows on a Mac There are 2 ways to install a Windows version on a Mac: Native Virtu...

    4. Picture: How to recover data from computer

      How to recover data from computer

      Data recovery is the process by which information is saved on a storage device inaccessible, corrupt...

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>