what’s filesystem

tags: learning linux

content

  • physical devices themselves are empty warehouses that provide physical space for storage, but don’t know how to organize data
  • filesystem is a database that transform a block device (empty warehouse) into hierarchy of files and dirs

my misconception:

  • kept thinking that this tree structure of linux dirs is filesystem

    linux-dir-tree.excalidraw

    ⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

    Excalidraw Data

    Text Elements

    /

    /mnt

    /tmp

    /etc

    this is just directory hierarchical structure it’s NOT filesystem

    Link to original
  • filesystem is the thing that you format a partition with

up

down

reference