1 LARGEFILE(5)          Standards, Environments, and Macros         LARGEFILE(5)
   2 
   3 
   4 
   5 NAME
   6        largefile - large file status of utilities
   7 
   8 DESCRIPTION
   9        A large file is a regular file whose size is greater than or equal to 2
  10        Gbyte ( 2^31 bytes). A small file is a regular file whose size is less
  11        than 2 Gbyte.
  12 
  13    Large file aware utilities
  14        A utility is called large file aware if it can process large files in
  15        the same manner as it does small files. A utility that is large file
  16        aware is able to handle large files as input and generate as output
  17        large files that are being processed. The exception is where additional
  18        files  are used as system configuration files or support files that can
  19        augment the processing. For example, the file utility supports the -m
  20        option for an alternative "magic" file and the -f option for a support
  21        file that can contain a list of file names. It is unspecified whether a
  22        utility that is large file aware will accept configuration or support
  23        files that are large files. If a large file aware utility does not
  24        accept configuration or support files that are large files, it will
  25        cause no data loss or corruption upon encountering such files and will
  26        return an appropriate error.
  27 
  28 
  29        The following /usr/bin utilities are large file aware:
  30 
  31 
  32 
  33 
  34        adb         aliasadm   awk        bdiff        cat
  35        chgrp       chmod      chown      cksum        cmp
  36        compress    cp         csh        csplit       cut
  37        dd          dircmp     du         egrep        fgrep
  38        file        find       ftp        getconf      grep
  39        gzip        head       join       jsh          ksh
  40        ksh93       ln         ls         mailcompat   mailstats
  41        mdb         mkdir      mkfifo     more         mv
  42        nawk        page       paste      pathchck     pg
  43        praliases   rcp        remsh      rksh         rksh93
  44        rm          rmdir      rsh        sed          sh
  45        sort        split      sum        tail         tar
  46        tee         test       touch      tr           uncompress
  47        uudcode     uuencode   vacation   wc           zcat
  48 
  49 
  50 
  51        The following /usr/xpg4/bin utilities are large file aware:
  52 
  53 
  54 
  55 
  56        awk     cp      chgrp   chown   du
  57        egrep   fgrep   file    grep    ln
  58        ls      more    mv      rm      sed
  59        sh      sort    tail    tr
  60 
  61 
  62 
  63        The following /usr/xpg6/bin utilities are large file aware:
  64 
  65 
  66 
  67 
  68        getconf   ls   tr
  69 
  70 
  71 
  72        The following /usr/sbin utilities are large file aware:
  73 
  74 
  75 
  76 
  77        editmap   install   makemap   mkfile   mknod
  78        mvdir     swap
  79 
  80 
  81 
  82        The following /usr/lib utilities are large file aware:
  83 
  84 
  85 
  86 
  87        mail.local   sendmail   smrsh
  88 
  89 
  90 
  91        See the USAGE section of the swap(1M) manual page for limitations of
  92        swap on block devices greater than 2 Gbyte on a 32-bit operating
  93        system.
  94 
  95 
  96        The following /usr/ucb utilities are large file aware:
  97 
  98 
  99 
 100 
 101        chown   from    ln   ls   sed
 102        sum     touch
 103 
 104 
 105 
 106        The /usr/bin/cpio and /usr/bin/pax utilities are large file aware, but
 107        cannot archive a file whose size exceeds 8 Gbyte - 1 byte.
 108 
 109 
 110        The /usr/bin/truss utilities has been modified to read a dump file and
 111        display information relevant to large files, such as offsets.
 112 
 113    nfs file systems
 114        The following utilities are large file aware for nfs file systems:
 115 
 116 
 117 
 118 
 119        /usr/lib/autofs/automountd   /usr/sbin/mount
 120        /usr/lib/nfs/rquotad
 121 
 122 
 123    ufs file systems
 124        The following /usr/bin utility is large file aware for ufs file
 125        systems:
 126 
 127 
 128        df
 129 
 130 
 131        The following /usr/lib/nfs utility is large file aware for ufs file
 132        systems:
 133 
 134 
 135        rquotad
 136 
 137 
 138        The following /usr/xpg4/bin utility is large file aware for ufs file
 139        systems:
 140 
 141 
 142        df
 143 
 144 
 145        The following /usr/sbin utilities are large file aware for ufs file
 146        systems:
 147 
 148 
 149 
 150 
 151        clri     dcopy        edquota      ff        fsck
 152        fsdb     fsirand      fstyp        labelit   lockfs
 153        mkfs     mount        ncheck       newfs     quot
 154        quota    quotacheck   quotaoff     quotaon   repquota
 155        tunefs   ufsdump      ufsrestore   umount
 156 
 157 
 158    Large file safe utilities
 159        A utility is called large file safe if it causes no data loss or
 160        corruption when it encounters a large file. A utility that is large
 161        file safe is unable to process properly a large file, but returns an
 162        appropriate error.
 163 
 164 
 165        The following /usr/bin utilities are large file safe:
 166 
 167 
 168 
 169 
 170        audioconvert   audioplay   audiorecord   comm     diff
 171        diff3          diffmk      ed            lp       mail
 172        mailcompat     mailstats   mailx         pack     pcat
 173        red            rmail       sdiff         unpack   vi
 174        view
 175 
 176 
 177 
 178        The following /usr/xpg4/bin utilities are large file safe:
 179 
 180 
 181 
 182 
 183        ed   vi   view
 184 
 185 
 186 
 187        The following /usr/xpg6/bin utility is large file safe:
 188 
 189 
 190 
 191 
 192        ed
 193 
 194 
 195 
 196        The following /usr/sbin utilities are large file safe:
 197 
 198 
 199 
 200 
 201        lpfilter      lpforms
 202 
 203 
 204 
 205        The following /usr/ucb utilities are large file safe:
 206 
 207 
 208 
 209 
 210        Mail   lpr
 211 
 212 
 213 SEE ALSO
 214        lf64(5), lfcompile(5), lfcompile64(5)
 215 
 216 
 217 
 218                                September 8, 2015                  LARGEFILE(5)