Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:btrfs [2023/07/02 16:45] – [Setup] darrontools:btrfs [2024/01/16 15:09] (current) – [Setup] darron
Line 1: Line 1:
-====BTRFS====+====B-TREE FS====
  
-B-TREE filesystem for Linux+BTRFS for Linux
  
 ===Install=== ===Install===
Line 66: Line 66:
    ID        SIZE  PATH    ID        SIZE  PATH
     1     1.00GiB  /dev/sda1     1     1.00GiB  /dev/sda1
 +</code>
 +
 +Mount partition
 +
 +<code>
 +mkdir /mnt/1
 +mount /dev/sda1 /mnt/1
 +df -h /mnt/1
 +Filesystem      Size  Used Avail Use% Mounted on
 +/dev/sda1       1.0G  3.5M  905M   1% /mnt/1
 +</code>
 +
 +dmesg
 +<code>
 +BTRFS: device fsid 4ec8fe62-e6a2-432d-8fec-7eaf1e4bed19 devid 1 transid 5 /dev/sda1 scanned by mkfs.btrfs (768)
 +BTRFS info (device sda1): using crc32c (crc32c-generic) checksum algorithm
 +BTRFS info (device sda1): disk space caching is enabled
 +BTRFS info (device sda1): checking UUID tree
 +</code>
 +
 +fstab
 +
 +<code>
 +UUID=f6eb5f98-032e-4634-b726-24f356c17af8 /opt btrfs noatime,nodiratime 0 0
 +</code>
 +
 +<code>
 +mount -a
 +systemctl daemon-reload
 </code> </code>