home *** CD-ROM | disk | FTP | other *** search
- DU AMIGA DU
-
- NAME
- du -- print out disc usage
-
- SYNOPSIS
- du [ -s ] [ -S | -F ] [ filename ]
-
- DESCRIPTION
-
- du prints out a summary of disc usage for
- a file or directory. It is pure, and thus
- can be made resident. It takes up only
- 1436 bytes.
-
- The options to du are:
-
- -s short listing. Print only the total
- number of blocks used.
-
- -S Calculate the number of blocks used as
- if by the old (Slow) 488 byte-block
- file system.
-
- -F Calculate the number of blocks used as
- if by the new (Fast) 512 byte block
- file system.
-
- Using the -S and -F options, one can easily
- work out whether a directory will fit when
- moved between floppy and hard disc.
- Without either option, du interrogates the
- file system to work out the blocksize.
-
- CAVEATS
- du correctly accounts for directory blocks
- and file list blocks on AmigaDOS file
- systems. It will work incorectly on
- MS-DOS volumes mounted via msh: or crossdos.
-
- AUTHOR
- Peter Chubb
- peterc@softway.sw.oz.au
-
- DISTRIBUTION
-
-
- Copyright 1990 Peter Chubb
- All rights reserved.
-
- This program and its associated
- documentation may not be distributed for
- profit. It may be distributed provided
-
- a) no charge is made other than for
- reasonable copying and media expenses,
-
- b) no change is made to the source,
- documentation or binary, that is not
- clearly marked as being a change, and
-
- c) all files are provided. These comprise:
- du.doc -- this documentation file
- du -- the program binary
- du.c -- the program source.
-
- This program is not warranted, or
- guaranteed. You get exactly what you paid
- for -- a copy of the program to do as you
- wish with. If it crashes your machine,
- writes rude letters to your spouse, or
- explodes in your face ... caveat emptor!
- However, to the best of my knowledge and
- belief it works as advertised.
-