Sunday, 19 August 2012

Unix file system


Unix File system:
File:
                The file is a basic structure which is used to store the info on UNIX system.
                                                                                                (Or)
               The file is a sequence of bytes which stored somewhere on disk.

               The files are organized in hierarchical order they are of three types
        1)     Ordinary files
        2)     Directory files
        3)     Special files
Ordinary files:
                An ordinary file consists of normal ASCII characters. Such as a text for manuscripts or p.g’s.
An ordinary file can created, modified or deleted.
Directory file:
                Directory is file which holds the other files & containing info about the locations and attributes of these files.
It contains their
Ø  Address
Ø  File type
Ø  Characteristics etc,.
Special files:
                A special file represents a physical device.
Different types of files:
 -    ordinary file
                  d    Directory file
                  b    Special file
                  c    Special character file  
                  l     Symbolic file 

No comments:

Post a Comment