squashfs read and write alternative and efficiently compress unallocated spaces #86
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DuckDuckGo search Linux sparsify disk and Linux replace unused space with zeros.
The Unix Stack Exchange answer 44236 helps.
DuckDuckGo and Google search zerofill squashfs and
"zerofill" "squashfs"
.Source: Wikipedia: SquashFS (1287034981)
Wikipedia: Comparison_of_file_systems#Block capabilities (1303557071) Deduplication and Compression)
Wikipedia: Comparison of file systems#Allocation and layout policies (1303557071) Sparse files may be relevant
DuckDuckGo and Google search Linux compressed read-write file system, Linux compress iso and dd without zeros.
Output:
Output:
DuckDuckGo search
"dd" "sparse"
.Output:
Output:
Output:
Output:
DuckDuckGo search zerofree output meaning.
Based on
man
14709203 / 61035008 = 24 % are now zero, so can earn at most 256 * 24 / 100 = 61.4 GB.Unclear if modified means where not value to write.
Output:
Output:
so it spared 20 GB!
DuckDuckGo search squashfs writable.
The Unix Stack Exchange answer 80312 is inappropriate in my case as recrompressing is an expensive operation.
Related to Benjamin_Loison/virt-manager/issues/31.
DuckDuckGo search btrfs compress iso, compress iso while keeping writable and squashfs writable alternative.
https://bbs.archlinux.org/viewtopic.php?id=131678
DuckDuckGo and Google search btrfs compress file and Use btrfs like squashfs.
Output:
DuckDuckGo and Google search Linux create ext4 as file.
The Unix Stack Exchange question 753111
Output:
Output:
Output:
Output:
does not return anything.
Output:
does not return anything.
Output:
does not return anything.
Output:
DuckDuckGo and Google search btrfs enable compression.
https://btrfs.readthedocs.io/en/latest/Compression.html
I suspect that if the compression is at the file level, then modifying the big file, requires to recompress the file.
With ext4:
Output:
Output:
so I notice the 2 GB change.
The Super User answer 1136358 may help.
Output:
Related to Benjamin_Loison/coreutils/issues/13.