Page 45 - RHEL8 BOOK
P. 45

PARTITION
               Partitions: -
                   A partition is a logical division of a hard disk.
                   The purpose of partition to store data
                   Partition is use to secure data and also to appearance of having separate hard drives for file
                    management and multiple users.
                   In Linux there are some default file systems to format the partitions such as ext2, ext3, ext4,
                    xfs & vfat etc.
                   In linux there are some default tools to update new changes of partitions to the kernel such as
                    partx, kpartx and partprobe.

               Mount: -The physical partition initializing on to logical directory, called mounting we can access
                 the partition space or data through the partitions mount point.

               Difference Between
                 Ext 2                                             Ext 3
                 1.  It has no journal feature                     1. It has journal feature.
                 2.  More speed                                    2. Less speed
                 3.  Less secure                                   3. More secure

               Journal: -
                 It is a concept use by the file system in which it maintains the information about file, ie. inode
                 number, data block etc. this is effectively use by the OS at the time of “fsck”. This journal concept
                 was introduced by the IBM.
               FSCK: - File system consistence checks similar to scandisk program in windows environment. In
                 this it reads the journal space and tries to restore the lost data.
               Tunning: - we can be converting from ext2 to ext3 as well as from ext3 to ext2
                 without loss of data. The only difference between ext2 and ext3 is journal.
               Format: -we can RAW partition size into block size.
                 Note: - If you want converting from one file system to another file system we must umount the
                 partition.

           Naming Convention of Hardware Devices
           Sata Harddisk                   /dev/sda
           IDE                             /dev/hda
           DVD-RW                          /dev/sr0
           Pendrive or usb                 /dev/sdb























                                                       S. Pradhan
                             (MCA, MBA-IT, BCA, CCNA, MCSA 2012, RHCE, ETHICAL HACKING)
                                             Email Id:-spradhan.iiht@gmail.com
                                                           45
   40   41   42   43   44   45   46   47   48   49   50