What are various File Systems supported in UNIX? Discuss any three of them.

Root
This file system must be present in every UNIX system. It contains the barebones UNIX-the root directory,/bin/usr/bin,/etc,/sbin,/usr/sbin,/dev and /lib directories all the tools and utilities that are just adequate to keep thesystem is booted in single-user mode, this is the only file system going.When the system is booted in single-user mode, this is the only file system available to the system administrator.
Swap
Every system should have a swap file system which is used by the kernel to movement of processes. When thesystem memory is heavily loaded, the kernel has to move process. When the system memory is heavily loaded,the kernel has to move process out of memory to this file system. When these swapped processes are ready torun, they are loaded back to memory. Users can’t access data in this file system directly.A UNIX system contains many more file systems. System files should be kept separate from data files created by users, and hence a separate file system is usually made for them. Linux and SVR4 create user’s homedirectories in/home, but older systems use/usr./home is often maintained as a separate file system. If there’s nospace left on/home, the administrator uses other file systems like/user2 or /u. You can have additional filesystems for /tmp and /var/tmp so that temporary and log files can’t grow indefinitely.
 
File System Types
Initially, there were only two types of file systems-the ones from AT&T and Berkeley. Following are some filesystems types:
s5
Before SVR4, this was the only file system used by System V, but today it is offered by SVR4 by this name for  backward compatibility only. This file system uses a logical block size of 512 or 1024 bytes and a single super  block. It also can’t handle filenames longer than 14 characters
 
ufs
This is how the Berkeley fast file systems is known to SVR4 and adopted by most UNIX systems. Because the block size here can go up to 64 KB, performance of this file system is considerably better than s5. It usesmultiple super blocks with each cylinder group storing a superblock. Unlike s5, ufs supports 255-character filenames, symbolic links and disk quotas.
 
Fdisk 
Creating PartitionsBoth Linux and SCO UNIX allow a user to have multiple operating systems on Intel Machines. It’s no wonder then that both offer the Windows-type fdisk command to create, delete and activate partitions. fdisk in Linux ,however, operates differently from windows. The fdisk m command shows you all its internal commands of which the following subset should serve our purpose:
Command Action
A toggle a bootable flag N add a new partition 
D delete a partition 
P Print partition table 
L list known partition types 
Q Quit without saving 
M print this menu 
W Write table to disk & exit.
mkfs : creating file systems
 
 Now that you have created a partition, you need to create a file system on this partition to make it usable. mkfsis used to build a Linux file system on a device, usually a hard disk partition. The exit code returned by mkfs is0 on success and 1 on failure.The file system-specific builder is searched for in a number of directories like perhaps /sbin, /sbin/fs,/sbin/fs.d, /etc/fs, /etc (the precise list is defined at compile time but at least contains /sbin and /sbin/fs), andfinally in the directories listed in the PATH enviroment variable.
 
What are various File Systems supported in UNIX? Discuss any three of them. What are various File Systems supported in UNIX? Discuss any three of them. Reviewed by enakta13 on November 10, 2012 Rating: 5

Search your question

Powered by Blogger.