Skip to main content

Explain the file systems supported by Linux.

21.Explain the file systems supported by Linux.
Ans.
1. Linux can read/write to several file system that originated with other operating system much different from Linux.

2. One reason that Linux supports so many file systems is the design of its virtual file system (VFS) layer, its provides a fairly universal forms of file support, file systems supported by Linux are as follows:

3. ext3:
Ext3 stands for third extended file system.
Starting from Linux Kernel 2.4.15 ext3 was available.
The main benefit of ext3 is that it allows journaling.
Journaling has a dedicated area in the file system, where all the changes are tracked.
When the system crashes, the possibility of file system corruption is less because of journaling. (If no journaling, then fsck command (file system consistency check) is used to check for the corrupted file and to repair that file).
ext3 keeps a record of uncommitted file transactions and applies only those transactions when the system is brought back up.

4. ext2(non-journaling file system):
ext2 stands for second extended file system.
ext2 does not have journaling feature.
On flash drives, USB drives, ext2 is recommended.
Can handle file systems up to 4 TB
It supports long file names up to 1012 characters.
In case user processes fill up a file system, ext2 normally reserves about 5% of disk blocks for exclusive use by root so that root can easily  recover from that situation.

5. reiserfs:
It is a journaling file system designed for fast server’s performance especially in directories containing thousands of files.

6. SystemV:
Linux currently provides read support for SystemV partitions, the SystemV file system driver currently supports AFS/EAFS/EFS, Xeniex and few more file system.

7. ufs:
Used in Solaris and eary BSD operating systems.

8. FAT:
FAT is one of the few different file systems used with window over years, originally created for DOS and used on 360k its address space is extended from 16bit-32bit, so it can handle large file system.

9. NTFS:
It is a b-tree file system, meaning it has performance and readability advantage including journaling and supports encryption and compression over FAT.

10. IBM jfs:
Created by IBM and used for high-throughput server environments.

11. SGI XFS:
Newest system for all silicon graphics system from workstations to supercomputer line.


Comments

Popular posts from this blog

Explain the tools used to monitor system security.

12.Explain the tools used to monitor system security. Ans. 1. People who, for purpose of larceny or to amuse themselves, like to break into computers, they are called ‘crackers’. 2. If there is a vulnerability in a system they will find it and use it against you. 3. Preventing use of your machine for nefarious purpose and guarding against intrusion are, in the end, your responsibility alone. 4. Red hat equips you with tools to detect and deal with unauthorised access of many kinds. 5. You need to configure those tools and understand how to sense the warning they provide. 6. Fortunately Linux is development community is quick to find potential exploits and to create ways of slamming the doors before crackers can enter in your system. 7. Red hat is careful enough to making available new, patched version in which potential exploits have been found. 8. You should make sure to download and install the repaired package. 9. This line of defence...

Explain the rc script and how they can be managed by manually.

18.Explain the rc script and how they can be managed by manually. Ans. 1. ‘rc’ scripts are stored in ‘/etc/rc.d’ directory, rc scripts are used to stop and start services for runlevels. 2. In ‘/etc/rc.d’ directory we have some additional directories rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d and rc6.d, the numbers in directory name corresponds to the runlevel and contains the scripts for runlevels. 3. For example let’s take runlevel 5, init program looks in the ‘/etc/rc.d/rc5.d/’ directory for the processes to start and stop. 4. All the scripts in the rc5.d directory are symbolic like to the actual scripts that are located in the ‘/etc/rc.d/init.d/’ directory. The use of symbolic link means that the runlevel can be modified by adding or removing symlinks or changing the order the script run. 5. rc scripts contains symbolic links which can be modified to change the runlevels. 6. Symbolic links begins with a ‘k’ and a number or an ‘s’ and a number. Example: S25netfs -...