summaryrefslogtreecommitdiff
path: root/usr/src/man/man7/largefile.7
blob: bcb70cd8e25d35f3ae48714e49211a4cf1495012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
'\" te
.\"  Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved
.\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved.
.\" 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
.\" 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
.\" 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]
.TH LARGEFILE 7 "Sep 8, 2015"
.SH NAME
largefile \- large file status of utilities
.SH DESCRIPTION
.LP
A \fIlarge file\fR is a regular file whose size is greater than or equal to 2
Gbyte ( 2^31 bytes). A \fIsmall file\fR is a regular file whose size is less
than 2 Gbyte.
.SS "Large file aware utilities"
.LP
A utility is called \fIlarge file aware\fR if it can process large files in the
same manner as it does small files. A utility that is large file aware is able
to handle large files as input and generate as output large files that are
being processed. The exception is where additional files  are used as system
configuration files or support files that can augment the processing. For
example, the \fBfile\fR utility supports the \fB-m\fR option for an alternative
"magic" file and the \fB-f\fR option for a support file that can contain a list
of file names. It is unspecified whether a utility that is large file aware
will accept configuration or support files that are large files. If a large
file aware utility does not accept configuration or support files that are
large files, it will cause no data loss or corruption upon encountering such
files and will return an appropriate error.
.LP
The following \fB/usr/bin\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBadb\fR	\fBaliasadm\fR	\fBawk\fR	\fBbdiff\fR	\fBcat\fR
\fBchgrp\fR	\fBchmod\fR	\fBchown\fR	\fBcksum\fR	\fBcmp\fR
\fBcompress\fR	\fBcp\fR	\fBcsh\fR	\fBcsplit\fR	\fBcut\fR
\fBdd\fR	\fBdircmp\fR	\fBdu\fR	\fBegrep\fR	\fBfgrep\fR
\fBfile\fR	\fBfind\fR	\fBftp\fR	\fBgetconf\fR	\fBgrep\fR
\fBgzip\fR	\fBhead\fR	\fBjoin\fR	\fBjsh\fR	\fBksh\fR
\fBksh93\fR	\fBln\fR	\fBls\fR	\fBmailcompat\fR	\fBmailstats\fR
\fBmdb\fR	\fBmkdir\fR	\fBmkfifo\fR	\fBmore\fR	\fBmv\fR
\fBnawk\fR	\fBpage\fR	\fBpaste\fR	\fBpathchck\fR	\fBpg\fR
\fBpraliases\fR	\fBrcp\fR	\fBremsh\fR	\fBrksh\fR	\fBrksh93\fR
\fBrm\fR	\fBrmdir\fR	\fBrsh\fR	\fBsed\fR	\fBsh\fR
\fBsort\fR	\fBsplit\fR	\fBsum\fR	\fBtail\fR	\fBtar\fR
\fBtee\fR	\fBtest\fR	\fBtouch\fR	\fBtr\fR	\fBuncompress\fR
\fBuudecode\fR	\fBuuencode\fR	\fBvacation\fR	\fBwc\fR	\fBzcat\fR
.TE

.LP
The following \fB/usr/xpg4/bin\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBawk\fR	\fBcp\fR	\fBchgrp\fR	\fBchown\fR	\fBdu\fR
\fBegrep\fR	\fBfgrep\fR	\fBfile\fR	\fBgrep\fR	\fBln\fR
\fBls\fR	\fBmore\fR	\fBmv\fR	\fBrm\fR	\fBsed\fR
\fBsh\fR	sort	tail	tr	
.TE

.LP
The following \fB/usr/xpg6/bin\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l .
\fBgetconf\fR	\fBls\fR	\fBtr\fR		
.TE

.LP
The following \fB/usr/sbin\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBeditmap\fR	\fBinstall\fR	\fBmakemap\fR	\fBmkfile\fR	\fBmknod\fR
\fBmvdir\fR	\fBswap\fR			
.TE

.LP
The following \fB/usr/lib\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l .
\fBmail.local\fR	\fBsendmail\fR	\fBsmrsh\fR		
.TE

.LP
See the USAGE section of the \fBswap\fR(8) manual page for limitations of
\fBswap\fR on block devices greater than 2 Gbyte on a 32-bit operating system.
.sp
.LP
The following \fB/usr/ucb\fR utilities are large file aware:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBchown\fR	\fBfrom\fR	\fBln\fR	\fBls\fR	\fBsed\fR
\fBsum\fR	\fBtouch\fR			
.TE

.LP
The \fB/usr/bin/cpio\fR and \fB/usr/bin/pax\fR utilities are large file aware,
but cannot archive a file whose size exceeds 8 Gbyte - 1 byte.
.LP
The \fB/usr/bin/truss\fR utilities has been modified to read a dump file and
display information relevant to large files, such as offsets.
.SS "nfs file systems"
.LP
The following utilities are large file aware for \fBnfs\fR file systems:
.sp

.sp
.TS
l l
l l .
\fB/usr/lib/autofs/automountd\fR	\fB/usr/sbin/mount\fR
\fB/usr/lib/nfs/rquotad\fR	
.TE

.SS "ufs file systems"
.LP
The following \fB/usr/bin\fR utility is large file aware for \fBufs\fR file
systems:
.LP
\fBdf\fR
.LP
The following \fB/usr/lib/nfs\fR utility is large file aware for \fBufs\fR file
systems:
.LP
\fBrquotad\fR
.LP
The following \fB/usr/xpg4/bin\fR utility is large file aware for \fBufs\fR
file systems:
.LP
\fBdf\fR
.LP
The following \fB/usr/sbin\fR utilities are large file aware for \fBufs\fR file
systems:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBclri\fR	\fBdcopy\fR	\fBedquota\fR	\fBff\fR	\fBfsck\fR
\fBfsdb\fR	\fBfsirand\fR	\fBfstyp\fR	\fBlabelit\fR	\fBlockfs\fR
\fBmkfs\fR	\fBmount\fR	\fBncheck\fR	\fBnewfs\fR	\fBquot\fR
\fBquota\fR	\fBquotacheck\fR	\fBquotaoff\fR	\fBquotaon\fR	\fBrepquota\fR
\fBtunefs\fR	\fBufsdump\fR	\fBufsrestore\fR	\fBumount\fR	
.TE

.SS "Large file safe utilities"
.LP
A utility is called \fBlarge file safe\fR if it causes no data loss or
corruption when it encounters a large file. A utility that is large file safe
is unable to process properly a large file, but returns an appropriate error.
.LP
The following \fB/usr/bin\fR utilities are large file safe:
.sp

.sp
.TS
l l l l l
l l l l l .
\fBaudioconvert\fR	\fBaudioplay\fR	\fBaudiorecord\fR	\fBcomm\fR	\fBdiff\fR
\fBdiff3\fR	\fBdiffmk\fR	\fBed\fR	\fBlp\fR	\fBmail\fR
\fBmailcompat\fR	\fBmailstats\fR	\fBmailx\fR	\fBpack\fR	\fBpcat\fR
\fBred\fR	\fBrmail\fR	\fBsdiff\fR	\fBunpack\fR	\fBvi\fR
\fBview\fR				
.TE

.LP
The following \fB/usr/xpg4/bin\fR utilities are large file safe:
.sp

.sp
.TS
l l l l l .
\fBed\fR	\fBvi\fR	\fBview\fR		
.TE

.LP
The following \fB/usr/xpg6/bin\fR utility is large file safe:
.sp

.sp
.TS
l l l l l .
\fBed\fR				
.TE

.LP
The following \fB/usr/sbin\fR utilities are large file safe:
.sp

.sp
.TS
l l l l l .
lpfilter		lpforms			
.TE

.LP
The following \fB/usr/ucb\fR utilities are large file safe:
.sp

.sp
.TS
l l l l l .
\fBMail\fR	\fBlpr\fR			
.TE

.SH SEE ALSO
.LP
.BR lf64 (7),
.BR lfcompile (7),
.BR lfcompile64 (7)