home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / dfemx.zip / readme.txt < prev   
Text File  |  1993-09-30  |  4KB  |  78 lines

  1.  
  2.  
  3.    README for DFEMX.ZIP
  4.    ====================
  5.  
  6.    The Zipfile should contain the following files:
  7.    DF.EXE    the program compiled with gcc/emx-0.8g
  8.    DF.CC    the source code
  9.    MAKEFILE    a makefile for dmake
  10.    README.TXT    this text
  11.  
  12.    This is the nth OS/2 port of the well known Unix utility df.
  13.  
  14.    I wrote a new version because the OS/2 computers in our institute
  15.    are networked with TCP/IP 1.2.1, Lan Manager and Lan Server.
  16.    Existing versions of DF either do not work at all with NFS, LAN or
  17.    CDROM drives or do so only with great difficulties or when they do
  18.    come up with nonsense when calculating the available disk space on
  19.    drives > 2GigaBytes.
  20.  
  21.    The current version of DF can (hopefully) deal with FAT and HPFS
  22.    partitions, CDROMs, LAN and NFS drives up to a size of 4 Terabytes.
  23.    All drive letters from C to Z are checked if they are connected to
  24.    a file system driver. If they are connected the program
  25.    displays how they are mounted. In addition the used file system
  26.    driver (FAT,HPFS,CDROM,LAN,NFS) is shown as well as the name of
  27.    mounted services in case of LAN and NFS drives. Unused drive letters
  28.    are skipped. The program has been testet with TCP/IP 1.2.1 and
  29.    LanManager 2.1.  For three months I have now been waiting (in vain)
  30.    for Lan Server 3.0 but DF should work with it as well. The output
  31.    for CDROM drives is not yet tested. I would be grateful for any
  32.    reports.
  33.  
  34.    The output of the program looks as follows (on my computer):
  35.  
  36.    Filesystem          1024-blocks       Used  Available  Capacity  Mounted on
  37.    local                    121728     108147      13581       88%  C:(HPFS)
  38.    syli30:/                 435736     248121     187615       56%  D:(NFS)
  39.    sylisv:/sylisv_disk1     649920     458615     191305       70%  E:(NFS)
  40.    sylisv:/sylisv_disk2     649920     587880      62040       90%  F:(NFS)
  41.    sylisv:/sylisv_disk3    1310802    1172847     137955       89%  G:(NFS)
  42.    \\SYLISV\ESSER            10155       7166       2989       70%  Z:(LAN)
  43.  
  44.    
  45.    In the first column, the service name is displayed for LAN and NFS
  46.    drives; local drives are flagged 'local'. The following 3 columns
  47.    contain the total, used and free capacity in kBytes. The following
  48.    column shows the disk percentage used and the last column shows the
  49.    drive letter and the name of the file system driver for this drive.
  50.  
  51.    The program was developed in C++ with emx-0.8g. The sources are
  52.    included.  The screen output is certainly not yet optimal,
  53.    particularly with long service names. If you do not like it you may
  54.    accomodate the sources to your taste. There are no command line options
  55.    as in the Unix original.  Due to its shortness the program is hardly
  56.    commented. This is not that much a disadvantage as comments are only
  57.    required for the three operating system calls. These can be looked up
  58.    in the programmers toolkit documentation. The exe-file is about 60 
  59.    kByte. This is mainly due to the overhead when using C++ and linking
  60.    with lgpp. It is no problem to convert the program to plain C, the 
  61.    size of the exe-file will then be around 30 kByte. If you use C and 
  62.    do not link the exe-file statically but use -Zomf -Zmtd you can reduce 
  63.    the size to approx 5 kByte.
  64.  
  65.    The emx-runtime DLLs are required for the program. These can be
  66.    downloaded from ftp.cdrom.com:/pub/os2/2_x/unix/gnu/emx08g/emxrt.zip.
  67.  
  68.    The program as well as the sources are public domain, in the sense of 
  69.    the GNU Copyleft (i don't want to blow up the zipfile with all the files
  70.    that must be included with a program that is subject to the GNU Copy-
  71.    left).
  72.  
  73.    NO WARRANTY: You use this program at your own risk.
  74.  
  75.    The author: Bernd Esser, Physikalisches Institut der Universit"at Bonn,
  76.                Germany,
  77.                esser@pib1.physik.uni-bonn.de
  78.