What is File system?
A '''File system''' (or '''filesystem''') is a way of storing all [[Information|data]] on a [[data storage device]]. The data is usually organized in [[computer file]]s in [[Directory (file system)|directories]]. Below the file system there is usually a physical [[computer hardware|device]] where the files are stored. This might be a [[hard disk]], [[USB flash drive]], [[compact disc]], or [[DVD]]. The file system might also talk to a remote [[server]] over a [[Computer network|network]] where the file is stored. The file system might also only use [[RAM]] to store the files. The underlying storage mechanism usually has no concept of a file. A [[hard disk]] knows of disk blocks, which are numbered in a certain way. These disk blocks contain binary data (usually: large [[number]]s). The file system does the ''[[translation]]'' between the large numbers, and the view the users see, that is that of files, organized in a certain way. More recently, concepts from [[database]]s have been used to develop file systems. That way, there are two different kinds of data: *Data that holds the files *Data that is used to describe what state the files are in. This is called [[metadata]]. It then becomes possible to always keep the file system in a consistent state. With databases, this is known as [[ACID]].<ref>{{Cite web|date=2022-07-02|title=What are the ACID properties? {{!}} Data Basecamp|url=https://databasecamp.de/en/data/acids|access-date=2022-07-07|language=en-US}}</ref> That way, an operation on a file is either done, or it is not done. There are however, no states in between. The file being written to the filesystem is no longer visible. This is usually done using [[transaction]]s. But with filesystems, it is called ''journaling''. == References == [[Category:software]] [[Category:Systems]] <references />{{tech-stub}}