2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FIOCOMPRESS 8 "Dec 10, 2008"
8 fiocompress \- file compression utility
12 \fB/sbin/fiocompress\fR \fB-c\fR [\fB-m\fR] [\fB-b\fR \fIblock_size\fR] \fIinput_file\fR \fIoutput_file\fR
17 \fB/sbin/fiocompress\fR \fB-d\fR \fIinput_file\fR \fIoutput_file\fR
23 The \fBfiocompress\fR utility is a file compression tool that works together
24 with the \fBdcfs\fR(7FS) file system to perform per-file compression. You can
25 use \fBfiocompress\fR to decompress a compressed file or mark a compressed file
26 as compressed, causing automatic decompression on read. The primary use of
27 \fBfiocompress\fR is to compress files in the boot archive.
30 Note that this utility is not a Committed interface. See \fBattributes\fR(5).
34 The following options are supported:
38 \fB\fB-b\fR \fIblock_size\fR\fR
42 Specify a block size for compression. The default block size is 8192.
52 Compress the specified file.
62 Decompress the specified file.
72 Mark the compressed file for automatic decompression on read. Can be used only
73 in conjunction with \fB-c\fR.
84 The command completed successfully.
94 The command exited due to an error.
100 See \fBattributes\fR(5) for descriptions of the following attributes:
108 ATTRIBUTE TYPE ATTRIBUTE VALUE
110 Interface Stability Private
116 \fBboot\fR(8), \fBbootadm\fR(8), \fBdcfs\fR(7FS), \fBufs\fR(7FS),
121 This compression/decompression utility works only with files stored in a UFS
125 There is no obvious way to determine whether a given file is compressed, other
126 than copying the file and comparing the number of disk blocks of the copy
127 against the original.