RH033 1. A UNIX file system


File system  is a collection of files and directories stored. Each file system is stored in a separate whole disk partition.


FEATURES OF FILE SYSTEM.

1.Linux file system is inverted root tree like structure
2.Linux file system is casesensitive.
3.Hidden files start with . (dot) extension.
4.dot (.) refers to current dir
5.double dot (.) refers to immediate parent dir
       

The FILE SYSTEM and its contents..


 /      This is the root directory.  This  is  where  the  whole tree starts. Please note that /root is root user’s home 
directory, which is not same as /.

 /bin   This  directory  contains  executable programs.
             
/boot  Contains  static files for the boot loader.  This 
directory only holds the files which are  needed  during  the
 boot process. 

/dev   Special/device  files,which  refer to physical devices.          
/etc   Contains configuration files

/home  users  home directories are stored here.
             
/lib  This directory should hold those shared  libraries 
like drivers
             
 /mnt and /media  This directory contains  mount  points  for  temporarily  mounted filesystems

/opt  This  directory  is used to store third party tools  or packages.

        
 /proc  This is a mount point for  the  proc  filesystem,  which
              provides  information  about  running  processes 
              and the  kernel. 

/root  This  directory  is  usually  the home directory for the
              root user (optional).

/sbin  Like /bin, this directory holds commands needed to   
           boot the system, but which are usually not executed              by normal users.

 
/tmp   This directory contains temporary  files  which  may  
            be deleted  with  no notice, such as by a regular job 
            or at  system boot up.

  /usr   This directory is usually mounted from a separate 
             partition. contains documents .

  /var   This  directory contains files which may change in 
           size,such as spool and log files.



No comments:

Post a Comment