OcttKB/Wiki-OcttKB/tiddlers/Normal/_File system.tid

32 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-08-13 10:58:58 +00:00
created: 20230813102403596
creator: Octt
2023-12-23 16:36:54 +00:00
modified: 20231223160419818
2023-08-13 10:58:58 +00:00
modifier: Octt
title: File system
<<^wikipediaframe "File system">>
2023-08-23 23:35:41 +00:00
!!! ''Disk partitioning''
<<^wikipediaframe "Disk partitioning">>
2023-11-05 11:41:08 +00:00
* [[GParted stop after next operation?|https://superuser.com/questions/312149/gparted-stop-after-next-operation]] --- TLDR: libparted doesn't keep copies of disk data, so the operation can be stopped without data loss only with luck and/or stopping at the least bad time.
2023-12-22 00:25:51 +00:00
!! ''Fat32''
* [[formatting a drive to FAT32 with mkdosfs, need some info|https://askubuntu.com/questions/190030/formatting-a-drive-to-fat32-with-mkdosfs-need-some-info]] (with cluster size and everything)
!! ''Btrfs''
<<^wikipediaframe Btrfs>>
Note (2023-08-04): I tried Btrfs more than a year ago on [[Linux Lite]] (with ZSTD compression iirc) but after filling up the entire partition leaving 0 bytes available, even after deleting files, the partition was like corrupted, couldn't write to it anymore.
2023-12-23 16:36:54 +00:00
* [[Compression (docs)|https://btrfs.readthedocs.io/en/latest/Compression.html]]
** ZSTD is the best-balanced compressor; level 15 is max compression, and still good performance
** Enable compression for newly-written files by mounting with `-o compress=${algo}:${level}`
2023-08-23 23:35:41 +00:00
!! ''ext#'' (Linux)
* Resizing: `resize2fs -f {Partition file} {Size}`