Posts Tagged ‘linux filesystem’
Understanding Linux Filesystems
The Default Linux File Systems (Filesystems)
The default filesystems that are recognized by Linux are specified in the text file named filesystems in the /proc directory.
Four of the filesystems that are commonly found on a Linux system are: ext2 (old and less common), ext3 (very common), iso9660 and swap.
Some Linux distributions also use other filesystems.
For example, instead of the ext3 filesystem, the SUSE and openSUSE distributions use the reiserfs filesystem by default.
In addition to the above linux filesystems, by default Linux can also recognize a partition that is a “swap” partition.
Depending on the documentation that you are reading and the command or utility that you are using, “swap” is not typically considered to be a filesystem type. It is a type of partition that is treated by the OS as virtual memory (where hard disk storage space works as though it is RAM memory).
The following is a description of some of the commonly used Linux filesystems.
ext2 (second extended filesystem) supports UNIX/Linux files and directories and allows for long file names (up to 255 characters).
ext3 (third extended filesystem) is the current default filesystem for Red Hat, Fedora and many other Linux distributions. The ext3 filesystem is on the way to becoming the de facto standard for Linux.
ext3 is based on the previous ext2 filesystem. It is basically the same as ext2, with the main difference being that ext3 supports a feature called “journalling”. The greatest benefit of this feature is that it provides a quicker recovery when a filesystem “crash” occurs and a system goes “down” (and stops working).
If files are corrupted on a partition using ext2, then the Linux fsck (filesystem check) utility is run to check the filesystem and repair it and this can take a very long time.
When the files on an ext3 filesystem become corrupted, then the fsck utility is still run to check and repair the filesystem, but this takes much less time due to the journalling feature of ext3.
vfat is the Linux filesystem that is compatible with DOS file names and Windows long file names. In some Linux utilities, “vfat” appears as “fat” or “fat32″.
iso9660 is the filesystem used on a CD-ROM.
swap (a.k.a. Linux swap partition, swap drive, swap space) is a disk partition that is used by the Linux OS as “virtual memory”. Linux uses the disk space that you have specified for the swap drive as though it were RAM (memory chips in your system).
The Linux filesystem type concepts and definitions covered here apply to: Ubuntu, Debian, Red Hat, Fedora, SUSE, Slackware, openSUSE – and ALL other Linux distributions.
If you are want to become Linux administrator then you like to know more about linux mount as well.
Other related articles:
- The Musings of Chris Samuel » Blog Archive » Comparing NTFS-3G to … – I was wondering whether FUSE was being a bottleneck in my various ZFS-FUSE tests or whether the performance issues at present are just that ZFS is very young code on Linux and that the fact that Riccardo hasn’t yet started on …
- A guide to files and folders on Linux « Blog « Peter Upfold – In my second tutorial about Linux, I’m going to look at files and folders and how they work on Linux because it’s very different compared to the Windows way of C:, D:, and E: etc. Basically, in Linux (and other Unix-based systems, but I’ll keep it simple for now), there aren’t different drives. In Linux, everything you can access stems from the top folder in the stack.
- Felipe Alfaro Solana » Blog Archive » Installing Ubuntu Linux on a … – codeThis article describes how to install Ubuntu Linux on a MacBook Pro laptop. Although I chose Ubuntu Linux as the Linux distribution, you can easily replace that for whatever distro you like the most. It’s only a matter of choice and …
- Open Source Security » Blog Archive » eCryptfs in Fedora 8 – One of the most exciting new features in Fedora 8 will be eCryptfs. I downloaded the latest test release of Fedora 8 just to try it out. Mike Halcrow has done a terrific job writing the code, getting it and design documents reviewed and …
- An Amazon EC2 cluster for BLAST searching ? at Your bones got a … – Ideas are cheap, implementation is expensive; act accordingly. FriendFeed « Snow day Dapper : the screen scraper for everyone » Warning : join() [function. I’ve just been reading about the new Amazon Elastic Compute Cloud (EC2), which is essentially a pay-as-you go cluster, based on Xen virtual machine images.
- GRUB error 17 | hertenberger.co.za – GRUB is a boot-loader, assisting in the selection of available operating systems on your PC. There are a couple of others, but the GRand Unified Bootloader.
- The Musings of Chris Samuel » Blog Archive » ZFS Disk Mirroring … – This is the third in a series of tests1, but this time we’re going to test out how it handles multiple drives natively, rather than running over an existing software RAID+LVM setup. ZFS has the ability to dynamically add disks to a pool …
- Use lshw (Hardware lister) to get detailed information on the … – Use lshw (Hardware lister) to get detailed information on the hardware configuration of your Linux system. There are many ways you can find our various information about the hardware configuration of a Linux system. …