1 '\" te 2 .\" Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved 3 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures 4 .\" Copyright 2015 Nexenta Systems, Inc. All rights reserved. 5 .\" 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. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 6 .\" or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add 7 .\" 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] 8 .TH LARGEFILE 5 "Sep 8, 2015" 9 .SH NAME 10 largefile \- large file status of utilities 11 .SH DESCRIPTION 12 .sp 13 .LP 14 A \fIlarge file\fR is a regular file whose size is greater than or equal to 2 15 Gbyte ( 2^31 bytes). A \fIsmall file\fR is a regular file whose size is less 16 than 2 Gbyte. 17 .SS "Large file aware utilities" 18 .sp 19 .LP 20 A utility is called \fIlarge file aware\fR if it can process large files in the 21 same manner as it does small files. A utility that is large file aware is able 22 to handle large files as input and generate as output large files that are 23 being processed. The exception is where additional files are used as system 24 configuration files or support files that can augment the processing. For 25 example, the \fBfile\fR utility supports the \fB-m\fR option for an alternative 26 "magic" file and the \fB-f\fR option for a support file that can contain a list 27 of file names. It is unspecified whether a utility that is large file aware 28 will accept configuration or support files that are large files. If a large 29 file aware utility does not accept configuration or support files that are 30 large files, it will cause no data loss or corruption upon encountering such 31 files and will return an appropriate error. 32 .sp 33 .LP 34 The following \fB/usr/bin\fR utilities are large file aware: 35 .sp 36 37 .sp 38 .TS 39 l l l l l 40 l l l l l . 41 \fBadb\fR \fBaliasadm\fR \fBawk\fR \fBbdiff\fR \fBcat\fR 42 \fBchgrp\fR \fBchmod\fR \fBchown\fR \fBcksum\fR \fBcmp\fR 43 \fBcompress\fR \fBcp\fR \fBcsh\fR \fBcsplit\fR \fBcut\fR 44 \fBdd\fR \fBdircmp\fR \fBdu\fR \fBegrep\fR \fBfgrep\fR 45 \fBfile\fR \fBfind\fR \fBftp\fR \fBgetconf\fR \fBgrep\fR 46 \fBgzip\fR \fBhead\fR \fBjoin\fR \fBjsh\fR \fBksh\fR 47 \fBksh93\fR \fBln\fR \fBls\fR \fBmailcompat\fR \fBmailstats\fR 48 \fBmdb\fR \fBmkdir\fR \fBmkfifo\fR \fBmore\fR \fBmv\fR 49 \fBnawk\fR \fBpage\fR \fBpaste\fR \fBpathchck\fR \fBpg\fR 50 \fBpraliases\fR \fBrcp\fR \fBremsh\fR \fBrksh\fR \fBrksh93\fR 51 \fBrm\fR \fBrmdir\fR \fBrsh\fR \fBsed\fR \fBsh\fR 52 \fBsort\fR \fBsplit\fR \fBsum\fR \fBtail\fR \fBtar\fR 53 \fBtee\fR \fBtest\fR \fBtouch\fR \fBtr\fR \fBuncompress\fR 54 \fBuudcode\fR \fBuuencode\fR \fBvacation\fR \fBwc\fR \fBzcat\fR 55 .TE 56 57 .sp 58 .LP 59 The following \fB/usr/xpg4/bin\fR utilities are large file aware: 60 .sp 61 62 .sp 63 .TS 64 l l l l l 65 l l l l l . 66 \fBawk\fR \fBcp\fR \fBchgrp\fR \fBchown\fR \fBdu\fR 67 \fBegrep\fR \fBfgrep\fR \fBfile\fR \fBgrep\fR \fBln\fR 68 \fBls\fR \fBmore\fR \fBmv\fR \fBrm\fR \fBsed\fR 69 \fBsh\fR sort tail tr 70 .TE 71 72 .sp 73 .LP 74 The following \fB/usr/xpg6/bin\fR utilities are large file aware: 75 .sp 76 77 .sp 78 .TS 79 l l l l l . 80 \fBgetconf\fR \fBls\fR \fBtr\fR 81 .TE 82 83 .sp 84 .LP 85 The following \fB/usr/sbin\fR utilities are large file aware: 86 .sp 87 88 .sp 89 .TS 90 l l l l l 91 l l l l l . 92 \fBeditmap\fR \fBinstall\fR \fBmakemap\fR \fBmkfile\fR \fBmknod\fR 93 \fBmvdir\fR \fBswap\fR 94 .TE 95 96 .sp 97 .LP 98 The following \fB/usr/lib\fR utilities are large file aware: 99 .sp 100 101 .sp 102 .TS 103 l l l l l . 104 \fBmail.local\fR \fBsendmail\fR \fBsmrsh\fR 105 .TE 106 107 .sp 108 .LP 109 See the USAGE section of the \fBswap\fR(1M) manual page for limitations of 110 \fBswap\fR on block devices greater than 2 Gbyte on a 32-bit operating system. 111 .sp 112 .LP 113 The following \fB/usr/ucb\fR utilities are large file aware: 114 .sp 115 116 .sp 117 .TS 118 l l l l l 119 l l l l l . 120 \fBchown\fR \fBfrom\fR \fBln\fR \fBls\fR \fBsed\fR 121 \fBsum\fR \fBtouch\fR 122 .TE 123 124 .sp 125 .LP 126 The \fB/usr/bin/cpio\fR and \fB/usr/bin/pax\fR utilities are large file aware, 127 but cannot archive a file whose size exceeds 8 Gbyte - 1 byte. 128 .sp 129 .LP 130 The \fB/usr/bin/truss\fR utilities has been modified to read a dump file and 131 display information relevant to large files, such as offsets. 132 .SS "nfs file systems" 133 .sp 134 .LP 135 The following utilities are large file aware for \fBnfs\fR file systems: 136 .sp 137 138 .sp 139 .TS 140 l l 141 l l . 142 \fB/usr/lib/autofs/automountd\fR \fB/usr/sbin/mount\fR 143 \fB/usr/lib/nfs/rquotad\fR 144 .TE 145 146 .SS "ufs file systems" 147 .sp 148 .LP 149 The following \fB/usr/bin\fR utility is large file aware for \fBufs\fR file 150 systems: 151 .sp 152 .LP 153 \fBdf\fR 154 .sp 155 .LP 156 The following \fB/usr/lib/nfs\fR utility is large file aware for \fBufs\fR file 157 systems: 158 .sp 159 .LP 160 \fBrquotad\fR 161 .sp 162 .LP 163 The following \fB/usr/xpg4/bin\fR utility is large file aware for \fBufs\fR 164 file systems: 165 .sp 166 .LP 167 \fBdf\fR 168 .sp 169 .LP 170 The following \fB/usr/sbin\fR utilities are large file aware for \fBufs\fR file 171 systems: 172 .sp 173 174 .sp 175 .TS 176 l l l l l 177 l l l l l . 178 \fBclri\fR \fBdcopy\fR \fBedquota\fR \fBff\fR \fBfsck\fR 179 \fBfsdb\fR \fBfsirand\fR \fBfstyp\fR \fBlabelit\fR \fBlockfs\fR 180 \fBmkfs\fR \fBmount\fR \fBncheck\fR \fBnewfs\fR \fBquot\fR 181 \fBquota\fR \fBquotacheck\fR \fBquotaoff\fR \fBquotaon\fR \fBrepquota\fR 182 \fBtunefs\fR \fBufsdump\fR \fBufsrestore\fR \fBumount\fR 183 .TE 184 185 .SS "Large file safe utilities" 186 .sp 187 .LP 188 A utility is called \fBlarge file safe\fR if it causes no data loss or 189 corruption when it encounters a large file. A utility that is large file safe 190 is unable to process properly a large file, but returns an appropriate error. 191 .sp 192 .LP 193 The following \fB/usr/bin\fR utilities are large file safe: 194 .sp 195 196 .sp 197 .TS 198 l l l l l 199 l l l l l . 200 \fBaudioconvert\fR \fBaudioplay\fR \fBaudiorecord\fR \fBcomm\fR \fBdiff\fR 201 \fBdiff3\fR \fBdiffmk\fR \fBed\fR \fBlp\fR \fBmail\fR 202 \fBmailcompat\fR \fBmailstats\fR \fBmailx\fR \fBpack\fR \fBpcat\fR 203 \fBred\fR \fBrmail\fR \fBsdiff\fR \fBunpack\fR \fBvi\fR 204 \fBview\fR 205 .TE 206 207 .sp 208 .LP 209 The following \fB/usr/xpg4/bin\fR utilities are large file safe: 210 .sp 211 212 .sp 213 .TS 214 l l l l l . 215 \fBed\fR \fBvi\fR \fBview\fR 216 .TE 217 218 .sp 219 .LP 220 The following \fB/usr/xpg6/bin\fR utility is large file safe: 221 .sp 222 223 .sp 224 .TS 225 l l l l l . 226 \fBed\fR 227 .TE 228 229 .sp 230 .LP 231 The following \fB/usr/sbin\fR utilities are large file safe: 232 .sp 233 234 .sp 235 .TS 236 l l l l l . 237 lpfilter lpforms 238 .TE 239 240 .sp 241 .LP 242 The following \fB/usr/ucb\fR utilities are large file safe: 243 .sp 244 245 .sp 246 .TS 247 l l l l l . 248 \fBMail\fR \fBlpr\fR 249 .TE 250 251 .SH SEE ALSO 252 .sp 253 .LP 254 \fBlf64\fR(5), \fBlfcompile\fR(5), \fBlfcompile64\fR(5)