# File System | ![img \|150](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Operating_system_placement.svg/320px-Operating_system_placement.svg.png) | In computing, a **File System** or filesystem is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one large body of data with no way to tell where one piece of data stopped and the next began, or where any piece of data was located when it was time to retrieve it. By separating the data into pieces and giving each piece a name, the data are easily isolated and identified. Taking its name from the way a paper-based data management system is named, each group of data is called a "file". The structure and logic rules used to manage the groups of data and their names is called a "file system." | |-|-| | | wikipedia:: [File system](https://en.wikipedia.org/wiki/File_system) | [[File Allocation Table (FAT)]] - [[NTFS]] - [[ZFS]] - [[BTRFS]] - [[XFS]] - [[APFS]] - [[ext3]] - [[ext4]] [[HFS+]] Made up of blocks ## Commands ### `mkfs` [The Linux Guide: How to Create and Mount a LVM Partition/Volume on CentOS 7](https://www.linuxcnf.com/2020/03/how-to-create-and-mount-lvm.html) - `mkfs.xfs /dev/sdc` ### `mount` Need to mount to an existing directory, so mkdir if needed `mount /dev/nvme1n1p1 /data` Remember to add to fstab so it remounts on restart ## File types, documents, formats, etc. - [[PDF]]