Wednesday, July 9, 2008

Unix - Large file aware utilities

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 pro-
cessed. 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 confi-
guration 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:

adb awk bdiff cat chgrp
chmod chown cksum cmp compress
cp csh csplit cut dd
dircmp du egrep fgrep file
find ftp getconf grep gzip
head join jsh ksh ln
ls mdb mkdir mkfifo more
mv nawk page paste pathchck
pg rcp remsh rksh rm
rmdir rsh sed sh sort
split sum tail tar tee
test touch tr uncompress uudecode
uuencode wc zcat



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

awk cp chgrp chown du
egrep fgrep file grep ln
ls more mv rm sed
sh sort tail tr


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

install mkfile mknod mvdir swap

No comments: