Linux File system Management

Filesystem is an operating system mechanism used for easy storage and retrieval of data. The native filesystem used by Linux is called ext3. Linux also supports other filesystems like: ext2,msdos, fat, vfat, JFS, Reiserfs, NTFS, HPFS etc. Filesystem is required on block devices.

Filesystem should always be created on a block device.

Filesystem is created using ‘mkfs’ command. mkfs –t fstype

Specific filesystem utilities may be called directly as mkfs.ext2, mkfs.ext3, mkfs.msdos

Example:-

Creating file system on a floppy diskette

# mkfs –t msdos /dev/fd0

Creating file system on a hard disk partition

# mkfs.ext3 /dev/hda1

Search in this blog

My Videos Channel