xref: /titanic_51/usr/src/man/man5/largefile.5 (revision a4b5e52b9bb5ef6f924a2454830eac72992bf8c5)
te
Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved
Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
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]
largefile 5 "2 Nov 2007" "SunOS 5.11" "Standards, Environments, and Macros"
NAME
largefile - large file status of utilities
DESCRIPTION

A large file is a regular file whose size is greater than or equal to 2 Gbyte ( 2^31 bytes). A small file is a regular file whose size is less than 2 Gbyte.

"Large file aware utilities"

A utility is called large file aware 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 file utility supports the -m option for an alternative "magic" file and the -f 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.

The following /usr/bin utilities are large file aware:

adbaliasadmawkbdiffcat
chgrpchmodchowncksumcmp
compresscpcshcsplitcut
dddircmpduegrepfgrep
filefindftpgetconfgrep
gzipheadjoinjshksh
ksh93lnlsmailcompatmailstats
mdbmkdirmkfifomoremv
nawkpagepastepathchckpg
praliasesrcpremshrkshrksh93
rmrmdirrshsedsh
sortsplitsumtailtar
teetesttouchtruncompress
uudcodeuuencodevacationwczcat

The following /usr/xpg4/bin utilities are large file aware:

awkcpchgrpchowndu
egrepfgrepfilegrepln
lsmoremvrmsed
shsorttailtr

The following /usr/xpg6/bin utilities are large file aware:

getconflstr

The following /usr/sbin utilities are large file aware:

editmapinstallmakemapmkfilemknod
mvdirswap

The following /usr/lib utilities are large file aware:

mail.localsendmailsmrsh

See the USAGE section of the swap(1M) manual page for limitations of swap on block devices greater than 2 Gbyte on a 32-bit operating system.

The following /usr/ucb utilities are large file aware:

chownfromlnlssed
sumtouch

The /usr/bin/cpio and /usr/bin/pax utilities are large file aware, but cannot archive a file whose size exceeds 8 Gbyte - 1 byte.

The /usr/bin/truss utilities has been modified to read a dump file and display information relevant to large files, such as offsets.

"cachefs file systems"

The following /usr/bin utilities are large file aware for cachefs file systems:

cachefspackcachefsstat

The following /usr/sbin utilities are large file aware for cachefs file systems:

cachefslogcachefswssizecfsadminfsck
mountumount
"nfs file systems"

The following utilities are large file aware for nfs file systems:

/usr/lib/autofs/automountd/usr/sbin/mount
/usr/lib/nfs/rquotad
"ufs file systems"

The following /usr/bin utility is large file aware for ufs file systems:

df

The following /usr/lib/nfs utility is large file aware for ufs file systems:

rquotad

The following /usr/xpg4/bin utility is large file aware for ufs file systems:

df

The following /usr/sbin utilities are large file aware for ufs file systems:

clridcopyedquotafffsck
fsdbfsirandfstyplabelitlockfs
mkfsmountnchecknewfsquot
quotaquotacheckquotaoffquotaonrepquota
tunefsufsdumpufsrestoreumount
"Large file safe utilities"

A utility is called large file safe 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.

The following /usr/bin utilities are large file safe:

audioconvertaudioplayaudiorecordcommdiff
diff3diffmkedlpmail
mailcompatmailstatsmailxpackpcat
redrmailsdiffunpackvi
view

The following /usr/xpg4/bin utilities are large file safe:

edviview

The following /usr/xpg6/bin utility is large file safe:

ed

The following /usr/sbin utilities are large file safe:

lpfilter lpforms

The following /usr/ucb utilities are large file safe:

Maillpr
SEE ALSO

lf64(5), lfcompile(5), lfcompile64(5)