home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
EFFO
/
pd1.lzh
/
SYS
/
HELP
/
space.hlp
< prev
next >
Wrap
Text File
|
1990-04-09
|
4KB
|
87 lines
@H
@T0
SPACE - Show effective space requirement of files and directories
Important: This program is public domain and may be used and
distributed freely as long as the "Distribution_Rules" are met
(see subtopic in this help file).
Syntax: SPACE [<opts>] {<dir/file path>} [<opts>]
Function: Shows effective space requirements of directory trees and
single files on a given disk. "Effective" space means that not
only the number of bytes *contained* in the files, but also all
space consumed by the file system itself such as file
descriptors, directory files and partially used clusters is
taken into account (unlike "du" or "dir -e").
SPACE completely replaces the "du" (disk usage) utility and is
about 3 to 4 times faster than "du" because it is specially
designed for OSK.
Usage: SPACE
Displays the space requirements (as well as the
contents) of the current directory and all of its
subdirectories.
SPACE <directory name/file name>
Displays the space requirements of the specified
directory or single file.
SPACE <file> <directory> <file> etc.
Displays the space requirements of the spacified files
and directories all together. This can be useful to find
out how much space some wildcard-specified files would
require on a floppy disk (see also -c and -d options)
@D1
Options : 2
Installation : 3
Distribution_Rules : 6
@T2
-? Show short help text.
-g Show grand total only. No separate information is
output for each directory.
-k Show kilobytes instead of sectors. This applies to
the list of directories but does *not* affect the
summary information.
-c=<clustersize> Use specified clustersize to determine the minimum
disk space required. This is useful e.g. to find out
how much space some files on the harddisk
(clustersize=8) would require if stored on a floppy
disk (clustersize=1).
-d=<disk> Use specified disk's clustersize to determine the
minimum disk space required.
@T3
Note: The SPACE program file must be *owned* by the super-user in
order to work. This is because it requires a privileged system
call (this is why it is faster than "du") which is only
available for modules that are owned by the superuser. Once
installed by the superuser, however, SPACE may be *used* by
non-super users as well.
@T6
*****************************************************************
* SPACE (c) 1990 by Lukas Zeller, CH-Maennedorf *
* email: zeller@strati.ethz.ch, zeller@ethz.uucp *
* ..!macvax!cernvax!chx400!ethz!zeller *
* DECMail: PSI%4991108411::STRATI::ZELLER *
* OS9-BBS: LZELLER *
*****************************************************************
This program is public domain and may be used and distributed freely as long
as the following conditions are met:
1. This Program may only be used for peaceful applications. I do NOT
ALLOW using this program for anything that serves a military purpose,
especially development, testing or manufacturing of weapons of any
type.
2. This text as well as all copyright messages (some of them in the
program, some in the documentation) must be retained.
For bug reports, comments and suggestions, please contact the author (see
email paths above). Thank you !