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