$ btrfs property get <PATH> compression 类似的,你可以像这样配置压缩: $ sudo btrfs property set <PATH> compression <VALUE> 例如,对在/etc下所有文件启用zlib压缩: $ sudo btrfs property set /etc compression zlib 你可以通过man btrfs-property得到支持值的列表。记住这个接口不允许指定压缩级别。除此之外...
$ btrfspropertyget<PATH>compression 类似的,你可以像这样配置压缩: $sudobtrfspropertyset<PATH>compression<VALUE> 例如,对在 /etc 下所有文件启用 zlib 压缩: $
$ sudo btrfs property set <PATH> compression <VALUE> 1. 例如,对在 /etc 下所有文件启用 zlib 压缩: 复制 $ sudo btrfs property set /etc compression zlib 1. 你可以通过 man btrfs-property 得到支持值的列表。记住这个接口不允许指定压缩级别。除此之外,如果设置了一个压缩属性,它会覆盖挂载时的其他压...
By using the subvolume property, for example: Copy sudo btrfs subvolume create /btrfs/sv1 Copy sudo btrfs property set /btrfs/sv1 compression zstd By using the mount option in one of the following ways: Use the lzo type to compress the file data on the whole file system: Copy sudo...
Compression support (both zlib and lzo) Mixed groups support No-holes support Added inode property sheet to shell extension Many more mount options (see below) Better support for removable devices Page file support Many miscellaneous bug fixes v0.5 (2016-07-24): Massive speed increases (from "...
Compression support (both zlib and lzo) Mixed groups support No-holes support Added inode property sheet to shell extension Many more mount options (see below) Better support for removable devices Page file support Many miscellaneous bug fixes...
Compression support (both zlib and lzo) Mixed groups support No-holes support Added inode property sheet to shell extension Many more mount options (see below) Better support for removable devices Page file support Many miscellaneous bug fixes ...
$ chmod +x ./btrfs_compression_test.sh $ ./btrfs_compression_test.sh 在我机器上的输出是这样: [INFO] Using file 'glibc-2.36.tar' as compression target [INFO] Target file 'glibc-2.36.tar' not found, downloading now... ### 100.0% [ OK ] Download successful! [INFO] Copying 'glibc-2....
如果你想禁用压缩,你应该使用btrfs property可以打开/关闭压缩的命令: btrfs property set <file> compression none 这应该适用于所有新写入文件/目录的数据。 也来自维基: 请注意,在 v5.14 之前的内核版本中,您可以通过传递空字符串来禁用压缩,而不是明确提及 none 或 no。从内核版本 5.14 开始,空字符串将重置为...
To enable compression when installing Arch to an empty Btrfs partition, use thecompressoption whenmountingthe file system:mount -o compress=zstd /dev/sdxY/mnt/. During configuration, addcompress=zstdto the mount options of the root file system infstab. ...