Showing posts with label File system. Show all posts
Showing posts with label File system. Show all posts

EXPLANATION OF LINUX FILES AND DIRECTORIES


OK I HAVE OPENED LINUX FILE DIRECTORY . WHAT AM I SEEING?




After  opening FILE SYSTEM DIRECTORY above directory will be found.  

Unlike windows/Mac, Linux considers directories or even computer's hard drive to be files.


ROOT Here in the above picture you will find a folder name root. This folder is  administrator's HOME directory. In Linux administrator means SU or superuser or root user. Hence root folder is for administrator. 

USR : "usr" directory contains user's application and all the files which need to run those applications. It is the biggest directory in the file system.

                ./local : it is used to locate application installed for local user 
                 ./sbin : It contains essential system applications.

ETC : "etc" stores your configuration file of linux system and other softwares. Most of them are text files and can be opened using text editor.

DEV : "dev" directory has device files in it. I have told you before that in linux devices are treated as files and devices can be written as files. Those written files are found in the /dev folder. For example: mouse, keyboard,printers files would be found here.

MNT : "mnt" means mount. "mnt" shows physical storage devices such as hard drive, DVD-ROMs etc.

LOST + FOUND : "lost and found" directory shows all the system restored files which either lost or accidentally deleted.

MEDIA : "media" folder contains removable media's drives or documents. 

BOOT :  "boot" contains system files including kernel and boot files.

HOME : "home" contains user home directory. It contains each user account's folder.

I have tried my best to give an understanding. Keep in touch. More will come later. Thanks for reading this. 

 

 

 

 

Enhanced by Zemanta

LINUX FILE SYSTEMS


FILE  SYSTEM


Dont panic its as easy as drinking water !!

File systems are one of the things any newcomer to linux must become acquainted with. In windows you didn't have to worry about file system.The default was NTFS. However in linux it is not limited in this way.

File system means some definite systems for arranging files contained by hard disk. For understanding easily one can compare file system in hard disk as DEWEY decimal system in library. At library many other systems are used to sort the books other than DEWEY system.  This is also true for file systems in hard disk. For windows the systems are FAT or NTFS but at linux the systems are many. Such as- ext, ext2, ext3, ext4, JFS, XFS etc. FAT & NTFS are also used in linux.  

MINIX--It can be said that MINIX file system from MINIX operating system was intended  to use at  Linux OS. But the problem was that - its maximum partition size was only 64 MB and it could not write file name if it exceeds 14 characters.  

EXT/EXT2/EXT3/EXT 4--  To solve the MINIX file problem an extended  file system was invented. It was called EXT. It supported file naming by upto 255 characters. But it has problem too. So 2nd extended file system was invented. It supports file size upto 2 TB and partition size up  to 32 TB. After that 3rd and 4th extended file sytem was created. EXT3 with maximum file size of 2TB and maximum partition size of 32 TB. And EXT4 file system is with maximum file size of 16TB and maximum partition size of 1EiB. 

A picture of EXT4 file system 
 

Enhanced by Zemanta

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | Best Buy Printable Coupons