マニュアルページセク ション 1M: システム管理コマンド

印刷ビューの終了

更新: 2014 年 7 月
 
 

fiocompress(1M)

名前

fiocompress - file compression utility

形式

/usr/sbin/fiocompress -c [-m] [-b block_size] input_file output_file
/usr/sbin/fiocompress -d input_file output_file

説明

The fiocompress utility is a file compression tool that works together with the dcfs(7FS) file system to perform per-file compression. You can use fiocompress to decompress a compressed file or mark a compressed file as compressed, causing automatic decompression on read. The primary use of fiocompress is to compress files in the boot archive.

Note that this utility is not a Committed interface. See attributes(5).

オプション

The following options are supported:

–b block_size

Specify a block size for compression. The default block size is 8192.

–c

Compress the specified file.

–d

Decompress the specified file.

–m

Mark the compressed file for automatic decompression on read. Can be used only in conjunction with –c.

終了ステータス

0

The command completed successfully.

–1

The command exited due to an error.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os
Interface Stability
Private

関連項目

boot(1M), bootadm(1M), dcfs(7FS), ufs(7FS), attributes(5)

This compression/decompression utility works only with files stored in a UFS file system.

This compression/decompression utility works only with files stored in a UFS file system.

There is no obvious way to determine whether a given file is compressed, other than copying the file and comparing the number of disk blocks of the copy against the original.